Re: highlight word under cursor

2020-12-21 Thread gar
I was thinking a little more about this problem and gathered the final requirements in my head. The following things can make me happy with Leo's HL: 1. when I place cursor on the word with mouse - every occurrence of this word in the body editor is HLed. When I use navigation hotkeys to change

Re: lost my leo and much data with it

2020-12-21 Thread George Zipperlen
On Sunday, 20 December 2020 at 17:16:18 UTC-7 andyjim wrote: > Should take notes. Is there a way I can get a history of terminal commands to see what I've done? On the assumption that you are using bash as your shell, you can set how far back in history it remembers with the HISTSIZE

Re: highlight word under cursor

2020-12-21 Thread gar
Oh my, thanks a lot for such an immediate reaction. I didnt expect it and pleased a lot. Thanks. I understand ... and I would add something. To develop making good use of > some of Leo's strengths, I have found myself breaking up files into > subtrees, and nodes. Each node usually only has a

Re: Clones - How To Return To "Original" Node?

2020-12-21 Thread Jacob Peck
“clone-find-parents” will show you all the parent nodes of that clone, which might be enough context? “find-next-clone” seems to move to the next clone in the outline, but not necessarily the same clone you’re looking at. “goto-next-clone” will cycle through all the clones of the selected node

Clones - How To Return To "Original" Node?

2020-12-21 Thread tbp1...@gmail.com
If I issue a command from the cff family, I will get a subtree of clones of targets that have the search phrase. After I look at several of them, I sometimes want to go back to its matching clone, the one this new clone was duplicated from. I haven't found a convenient way to do this. The

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
I understand ... and I would add something. To develop making good use of some of Leo's strengths, I have found myself breaking up files into subtrees, and nodes. Each node usually only has a page's worth of code, sometimes much less. Their arrangement and names in the outline convey quite

Re: highlight word under cursor

2020-12-21 Thread gar
> > Do you want all matching words highlighted every time you highlight a word? By default - yes. An I would lovу if every match is highlighted every time I use find / findall If I could on a word and get them all highlighted, I'd probably > like that. > This would please me too. ANY

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
Do you want all matching words highlighted every time you highlight a word? That's what annoys me. Say I want to delete a word. I will highlight it then press DELETE or . I dislike all matching words flashing with a highlight and then flashing off as I do the mark-and-delete. If I could

Re: highlight word under cursor

2020-12-21 Thread gar
yeah, thanks, I know about it. But it is different and not suffice. When word is highlighted - you can easily see where and how variable is used. This simplifies refactoring and analysis. Actually I cannot work on reasonable large codebases without it. The project I started when knew about leo -

Re: highlight word under cursor

2020-12-21 Thread tbp1...@gmail.com
I have got this feature in some editors, but I usually find it to be annoying. I prefer to move from one instance to the next with or or one of those standard shortcuts. In Leo, the NAV pane can search a node or file - of course you have to type or paste the phrase in - and gives you a list

Re: highlight word under cursor

2020-12-21 Thread gar
I was not correct in expressing what I need. I am actually missing such a function like: when cursor is on the word - every word equal to this in the buffer is somehow highlighted (https://images.app.goo.gl/Nb6NYHxcavNnbMfD6). extend-to-word is a good command, but does slightly another thing.

Re: highlight word under cursor

2020-12-21 Thread Edward K. Ream
On Mon, Dec 21, 2020 at 2:25 AM gar wrote: is there an opportunity to highlight all the word under the cursor in the > current active editor (placing cursor forces editor to highlight all the > occurences of the word in the buffer)? extend-to-word g.isWordChar and g.isWordChar1 define what a

Re: lost my leo and much data with it

2020-12-21 Thread Edward K. Ream
On Sun, Dec 20, 2020 at 6:16 PM andyjim wrote: Should take notes. > Yes. Get in the habit for all installation-related stuff. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from

highlight word under cursor

2020-12-21 Thread gar
is there an opportunity to highlight all the word under the cursor in the current active editor (placing cursor forces editor to highlight all the occurences of the word in the buffer)? this is very useful for code analysis. and did anyone try to tie code completion server with Leo (the