Search found 16 matches

by gh_origin
19.12.2020 15:48
Forum: General - CudaText
Topic: How to set the default lexer to open files?
Replies: 2
Views: 704

How to set the default lexer to open files?

I want to open .h files on CudaText and each time it always asks if I want to use the C or C++ lexer. Since I only work with C++, how could I set C++ as the default lexer applied when opening .h files so Cuda will not ask me again and again? Thank you.
by gh_origin
19.12.2020 15:45
Forum: Issues solved
Topic: Configure CudaText to allow only one instance of it?
Replies: 2
Views: 911

Configure CudaText to allow only one instance of it?

How to configure CudaText to only allow just one instance of it? JEdit has a server mode when it has an icon on the system tray. Each time we open new files, these files are opened inside the current (and only) instance of it. CudaText on the other hands spawn new instance each time. So how could I ...
by gh_origin
05.10.2020 16:40
Forum: Lexers
Topic: FreeBASIC lexer
Replies: 11
Views: 16081

>There are more on the wiki main page. It's a complete reference for QB64. I dont work like this. i don't read big docs. only for $$ work. I usually do fixes like in these topics in "Lexers" part http://synwrite.sourceforge.net/forums/viewtopic.php?f=4&t=2423 http://synwrite.sourcefor...
by gh_origin
04.10.2020 16:42
Forum: Issues solved
Topic: Cudatext save a file externally modified by another process
Replies: 8
Views: 1610

Thank you. This Beta version works as expected. BTW, I hope the next official release would have the QB64 lexer :)
by gh_origin
02.10.2020 14:51
Forum: Lexers
Topic: FreeBASIC lexer
Replies: 11
Views: 16081

>The same applies for QB64 and FreeBASIC. QB64 is more primitive compared to FreeBASIC. FreeBASIC has OOP, namespace,... QB64 has none of them. so I need to know what to delete in primitive one. what folding rules. what keywords (to delete, to add). what code-tree items. etc. Everything not mention...
by gh_origin
02.10.2020 14:43
Forum: Issues solved
Topic: Cudatext save a file externally modified by another process
Replies: 8
Views: 1610

Cudatext behavior about a file being externally modified by Pluma. Long story short: It seemed Cudatext constantly reload the file content from disk, without user intervention. Even though sometimes it not update the displayed text to match the file content (when the text file is big enough like the...
by gh_origin
02.10.2020 14:26
Forum: Issues solved
Topic: Cudatext save a file externally modified by another process
Replies: 8
Views: 1610

Everything you need here. Cudatext's behavior when dealing with file changed by external process is a bit buggy. I will show in my next post.
by gh_origin
02.10.2020 14:14
Forum: General - CudaText
Topic: Does Cudatext support the LSP protocol?
Replies: 4
Views: 1209

Understood. You need an already available component of Lazarus implementing LSP.
by gh_origin
01.10.2020 17:07
Forum: Lexers
Topic: FreeBASIC lexer
Replies: 11
Views: 16081

Hi. Just to note that QB64 also uses the .bas and .bi extensions as FreeBASIC does. But most of the time I found people name their source file all uppercased, e.g: TEST.BAS, TEST.BI so the uppercased extensions .BAS and .BI should be recognized, too.
by gh_origin
01.10.2020 17:04
Forum: General - CudaText
Topic: Does Cudatext support the LSP protocol?
Replies: 4
Views: 1209

Does Cudatext support the LSP protocol?

LSP is Language Server Protocol: https://en.wikipedia.org/wiki/Language_Server_Protocol

Many text editors support it and it allows them to serve as an real IDE. For example, Emacs: https://emacs-lsp.github.io/lsp-mode/

I know Emacs is bit too advanced, but other editors do, too.