[Gambas-user] TextHighlighter["gambas"].CanRewrite = False
Bruce Steers
bsteers4 at gmail.com
Tue Dec 12 15:33:22 CET 2023
I cannot seem to disable CanRewrite in a texteditor :(
I try this....
TextHighlighter["gambas"].CanRewrite = False
$hEditor.Highlight = "gambas"
but the text gets re-written still?
The editor has a highlight selector to try different highlights on text
files that might have not been recognized.
If gambas is selected I only want to enable CanRewrite if the file is known
to be gambas code.
I also only want to disable rewrite for gambas highlight in the loaded
editor not everywhere and TextHighlighter["gambas"].CanRewrite = False
seems kinda global not local to current editor.
I guess i am doing it wrong :(
any advice ?
Thanks in advance
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231212/c424f069/attachment.htm>
More information about the User
mailing list