Great editor; some questions/suggestions

tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:just fixed that lexer-specific configs were not able to apply several editor opts (wrap mode, font scale, show ruler/minimap/micromap....).
Thanks for that, much appreciated :P Do you have a site where you upload "nightlies" or betas? I don't have Lazarus and so can't compile from source.

So quite a few of my seven points are now either dealt with or at least github issues awaiting good news. That's pretty amazing. :shock:

From the points that are still open, #7 (user-defined config) and the -ns problem would be my top wishes. The trouble is that I use a text editor for all sorts of things, either editing very similar files in sessions (and then it's often Programming but equally often free text) or quick-and-dirty stuff with all sorts of file extensions (so making a simple lexer-based configuration hard if not possible) and different options (ie plugins, window sizes, keyboard settings etc.)

EDIT: Upon reflection perhaps a better idea than having a -u option to give just a user-defined user.json a switch -s (or similar) to define a completely different settings directory would be even better. I used to do this for AkelPad (I heavily patched this editor and would do the same with CudaText but sadly the days when I did Pascal are many, MANY years gone :( ).

Anyway, great stuff and thanks again.
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

I will prepare the beta (no nightly builds).
I have added the -s=dir parameter. will test it more.

you have very good English, maybe you can make a youtube video about Cud? not short please.
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

@Alexey: that sounds great. I will download this beta to check it out and possibly start a new thread for any issues left or other problems I find.

As to the video... I am not very experienced in these things but I could write a thorough review once I am proficient with CudaText. I would also be willing to write some bits and pieces for the wiki, time permitting. ;)
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

We already have several reviews (linked at homepage, on Macupdate.com), so better to make a video.
before video, you can write short review at https://www.macupdate.com/app/mac/55256/cudatext
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... thanks for the beta, super fast response! Had a very quick look and here are my findings:
1. word warp in lexer: OK :!:
2. visual hint for continuations: OK
3. undo for changed lines: OK
4. temp highlight line with found string: TBD? (This is not high on my list.)
5. Incremental search: TBD with a plugin which seems buggy... don't know whether this will be done. May have a look at the plugin myself?
6. Open wildcard files: OK
7. Load settings from user directory: this doesn't seem to work here. I started with this command line:

Code: Select all

cudatext -s z:\q\CudaText\settings2 test.txt
and get the old settings.

Code: Select all

cudatext -sz:\q\cudatext\settings2 test.txt
doesn't work either. If I give a non-existing path there's no error message. I must be making an elementary mistake :oops:
EDIT: 8. -ns with ui_one_instance set to true: OK :!:

But so far... this is very impressive :mrgreen:
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

regarding -s param, you missed the full syntax with "=":
cudatext -s=path
and quotes around spaces:
cudatext "-s=path"
Alexey
Posts: 1633
Joined: 05.10.2012 22:10

Post by Alexey »

4. temp highlight line with found string: TBD? (This is not high on my list.)
5. Incremental search: TBD with a plugin which seems buggy
I postponed these wishes, not easy to do. maybe in next versions...
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

Alexey wrote:regarding -s param, you missed the full syntax with "=": cudatext -s=path
Thanks... I knew it was elementary :roll:
Alexey wrote:4. temp highlight line with found string: TBD? (This is not high on my list.)
5. Incremental search: TBD with a plugin which seems buggy
I postponed these wishes, not easy to do. maybe in next versions...
4 is nice to have but not really that important. I do miss the incremental search but I think it'll be a good learning experience to dissect the plugin you mentioned and try to get it to work.

I'll now look deeper into the new version and test a few other things and will open another thread if I find something.

Again thanks for the fast reaction and the new version!
tmsg
Posts: 120
Joined: 20.05.2020 12:08

Post by tmsg »

A nitpick re wildcards:

Code: Select all

cudatext some_dir\*.json
doesn't work (note the relative path).

Code: Select all

cd some_dir
cudatext *.json
does work and absolute paths like c:\dir\some_dir\*.json also work.
Post Reply