Great editor; some questions/suggestions

Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

>doesn't work (note the relative path).
fixed, thanks. both files are updated in that Github issue.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

tmsg wrote:4. I am working with a big screen and the editor window is as large as I can make it. When using Find (Ctrl-F) and searching for a one or two character string the found item is not easily located on the screen. I've seen that the line number is also highlighted but would it be possible to temporarily also highlight the line in which the item was found?
I have now changed the ui theme in such a way that the line number highlighted in the gutter can't possibly be ignored, so this point can be disregarded.

So the only thing left from my initial "wish list" is now point 5 about incremental search :D :D I did look into the source code of the find-in-lines plugin mentioned by @Alexey but alas, it's over my head ;)
User avatar
kvichans
Posts: 203
Joined: 07.10.2012 05:45

Post by kvichans »

5. Incremental search - FIXED. Update the plugin CudaExt.
CudaText 1.163, TC9.51x32, Win10x64(1920x1080)
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

yes, CudaExt FindInLines is fixed.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

kvichans wrote:5. Incremental search - FIXED. Update the plugin CudaExt.
Alexey wrote:yes, CudaExt FindInLines is fixed.
I can confirm that it works now.
Thanks a lot for that, I am really using incremental search a lot.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

BTW the API allows to create different instant-srch panel. it can be a) themed with Cud theme, b) buttons can be themed (like Find dlg). I postpone that your wish for instant-srch panel.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

@Alexey: I am not sure what you mean with postponing. Are you planning to do an incremental search panel within Cud? I think for the time being the plugin is fine 8-)
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

I mean that I will delay this feature (panel) for unknown future time.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:I mean that I will delay this feature (panel) for unknown future time.
Alright, that's what I was assuming you meant. I am fine with that as the find-in-lines plugin does what I need. In fact, I'd rather have this as a plugin than in Cud's source because I can easily patch a plugin but can't easily patch the Cud Pascal sources.

This observation brings up an interesting design question: how much (and what parts) of a text editor should be written in something like C or Pascal and what should be done in a higher-level script language? There's an editor around (see https://foicica.com/textadept/ ) which has Scintilla as its editor component but virtually everything else is done in Lua.

I've noted the beta 101.5 beta and I may try to check this out later (I am currently wrestling with the find-in-lines plugin to make it work standalone and also to change some small usability bits).

As there's no mention of my regex search problem I assume that's on the back burner as well?
Post Reply