Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.15k stars 300 forks source link

folding using special characters #311

Closed GiovanniF closed 9 years ago

GiovanniF commented 9 years ago

fold "«" SSL_OPERATOR + fold "»" SSL_OPERATOR -

does not work.

Naatan commented 9 years ago

Could you please provide more detailed reproduction steps.

GiovanniF commented 9 years ago

I created a language extension using the project template from the menu. Then, in the mylanguage-mainlex.udl file I put

fold '{' SSL_OPERATOR + fold '}' SSL_OPERATOR -

fold '«' SSL_OPERATOR + fold '»' SSL_OPERATOR -

After building the language extension, installing it and restarting the editor, when I open a file with the extension I specified for "mylanguage" I can fold text using the braces but not using '«' and '»'. I also tried

fold "\xab" SSL_OPERATOR + fold "\xbb" SSL_OPERATOR -

which contain the codes for '«' and '»'. It might be that since the codes for '«' and '»' are greater than 128 they get special treatment.

Thank you.

Naatan commented 9 years ago

Please open a thread on the forums for this, the bug tracker is not intended for general support queries.