Search found 9 matches

by RogerTunnicliffe
Today 09:46
Forum: Lexers
Topic: Help to configure folding in my lexer
Replies: 12
Views: 95

Re: Help to configure folding in my lexer

Thx Alexey. I am away at the moment so will check it out in a couple of days. As far as the format entries go, they do make sense and they are not bad. What do you see in the following code that indicates that it is a number, or a comment or an identifier. It is a style that is APPLIED to something....
by RogerTunnicliffe
Yesterday 22:08
Forum: Lexers
Topic: Help to configure folding in my lexer
Replies: 12
Views: 95

Re: Help to configure folding in my lexer

Thx Alexey,

I have attached an archive.
You should be able to see when things work for one file but not the other
Cheers
Roger
by RogerTunnicliffe
21.06.2025 23:20
Forum: Lexers
Topic: Help to configure folding in my lexer
Replies: 12
Views: 95

Re: Folding problems

Thx Alexey Okay, last alteration to this post.!! I seem to have it working in some programs but not others One program might have the REPEAT's working but the IF's fail. One program might have The IF's working while the REPEAT.IF, and the REPEAT.WHILE works but the REPEAT.FOR fails The Lexer doesn't...
by RogerTunnicliffe
21.06.2025 12:20
Forum: Lexers
Topic: Help to configure folding in my lexer
Replies: 12
Views: 95

Re: Folding problems

Thx Alexey, I'll give it a shot tomorrow morning.
Cheers
Roger

Oh yeah. How do I reference that in the start and end block ?
by RogerTunnicliffe
20.06.2025 20:27
Forum: Lexers
Topic: Help to configure folding in my lexer
Replies: 12
Views: 95

Help to configure folding in my lexer

Hi Alexey, forgive me as am new to this and know little of Regex but I wonder if you could help me. My language has the following constructs repeat.if end.repeat If (and sometimes .If) End.If I am having problems with folding when it detects the "repeat" in the "end.repeat" and m...
by RogerTunnicliffe
19.06.2025 12:12
Forum: Lexers
Topic: What are the TokenTypes
Replies: 2
Views: 91

Re: What are the TokenTypes

Thx Alexey, knew it was something binary
Cheers
Roger
by RogerTunnicliffe
19.06.2025 03:39
Forum: Lexers
Topic: What are the TokenTypes
Replies: 2
Views: 91

What are the TokenTypes

What are the TokenTypes that appear frequently in a Lexer. for example the Python.lcf item DisplayName = 'block for tree, class' ConditionList = < item TokenTypes = 4096 end item CondType = tcSkip TokenTypes = 59390 end item TokenTypes = 131072 end> EndOfTextClose = True NameFmt = '%s-1' RefToCondEn...
by RogerTunnicliffe
17.06.2025 22:14
Forum: Bugs, issues
Topic: Terminal plugin wont start correctly in wine
Replies: 5
Views: 227

Re: Terminal plugin wont start correctly in wine

Thanks for the quick response Alexey. Is there any chance that installing any of the older python packages might help. If so how would you do that. and on another topic, I've been setting up a lexer for my language and have not been able to find any documentation as to the the numeric values of the ...
by RogerTunnicliffe
17.06.2025 04:41
Forum: Bugs, issues
Topic: Terminal plugin wont start correctly in wine
Replies: 5
Views: 227

Terminal plugin wont start correctly in wine

Hi, New to Cudatext and have it running happily on Debian and Windows. There is however a problem with the terminal plugin when running it under Wine. The following error is displayed in the console Init: cuda_terminal Init: cudatext Exception in thread Thread-1: Traceback (most recent call last): F...