Search found 8 matches

by smartmic
10.08.2022 08:33
Forum: General - CudaText
Topic: Go to definition functionality
Replies: 1
Views: 651

Go to definition functionality

Hi, what is the recommendation concerning using "Go to definition" function? When I tried it with code written in Python or C++, it always says "No goto-definition plugin installed for this lexer". But I could not find such plugins. Do they exist and I just could not find them? O...
by smartmic
20.12.2021 15:06
Forum: General - CudaText
Topic: Improvements for distraction-free view
Replies: 6
Views: 886

that is not correct. you are right that SMALL values of "centering_for_distraction_free" gives only centering, but you need big values, from 80 and bigger. here I see good result with 100 or 110, - I have the 10-30 chars indent of the left margin. my monitor is about 19". Yep, you ar...
by smartmic
20.12.2021 13:42
Forum: General - CudaText
Topic: Improvements for distraction-free view
Replies: 6
Views: 886

Hi Alexey, I tried the option "centering_for_distraction_free". Although its parameter is an integer, it has only boolean behaviour. Every value greater than 0 moves the left margin of the text to the center. The text stays left aligned. But this is not what I would expect and it does not ...
by smartmic
17.12.2021 10:10
Forum: General - CudaText
Topic: Improvements for distraction-free view
Replies: 6
Views: 886

Improvements for distraction-free view

Hi again, the idea behind distraction-free view for editing is very good, I would like to use this for writing longer text. In the current implementation, this view just makes Cudatext fullscreen and hides all panels/bars etc. But having a widescreen monitor, the view is still not very comfortable b...
by smartmic
22.11.2021 10:07
Forum: General - CudaText
Topic: Hard wrap and pipe to external command
Replies: 1
Views: 489

Hard wrap and pipe to external command

Hi again, there is the 'word-wrap mode' which can also use a margin for wrapping text. However, this is a soft wrap. I am wondering if it is possible to hard wrap text around a defined margin. With hard wrapping I mean that the editor will insert newlines. In other editors, such a functionality is o...
by smartmic
18.11.2021 09:30
Forum: Plugins
Topic: CudaFormatter ignoring selection used for sublexer
Replies: 7
Views: 1899

Yes, confirmed, now it works like a charm! Thank you very much for the quick support 8-)
—Martin
by smartmic
17.11.2021 14:16
Forum: Plugins
Topic: CudaFormatter ignoring selection used for sublexer
Replies: 7
Views: 1899

I tested it using the updated plugin and a Lua code chunk. This works well after I select the code chunk and hit either "formatter (menu)" or "formatter (per lexer)". Concerning Python Black formatter, I used it on the commandline with stdin successfully. The documentation gives ...
by smartmic
16.11.2021 10:27
Forum: Plugins
Topic: CudaFormatter ignoring selection used for sublexer
Replies: 7
Views: 1899

CudaFormatter ignoring selection used for sublexer

Hi there, I have created my own lexer which includes several sublexers using SynWrite (I want to use it for literate programming in noweb where the main text is LaTeX interweaved with code chunks in Python, Lua etc.). This worked fine and the result looks beautiful. However, I have problems to use t...