[Geany-Users] Users Digest, Vol 102, Issue 5
mbrush at xxxxx
Sat Apr 12 15:20:02 UTC 2014
On 14-04-11 11:00 PM, Lex Trotman wrote:
> On 12 April 2014 15:43, Matthew Brush <mbrush at codebrainz.ca> wrote:
>> On 14-04-11 09:46 PM, Mike Miller wrote:
>>> I use geany at times to edit notes that are just indented plain text. I
>>> wonder if there is a way to have them fold like source code? I've tried
>>> a few scripting language settings but it usually results in weird
>>> artifacts like the word "for" getting colorized.
>> You could make a custom file type with no keywords or color scheme with no
>> highlighting based on Python or other indentation-based language and it
>> should fold based on nesting. It's in the manual how to customize these.
> Unfortunately you can't turn (at least the Python) lexers off totally,
> eg a test line
> this isn't right
> will have all the text after the ' marked as an unterminated string,
> numbers will be coloured etc.
Unless the colour scheme had `everystyle=#000;#fff;` :)
More information about the Users