simonsteele / pn

Programmer's Notepad
372 stars 116 forks source link

Colorize ignoring uppercase/lowercase or matching case #160

Closed JoseQuintas closed 7 years ago

JoseQuintas commented 7 years ago

My language have keywords on uppercase, and #define constants too. Same way as C++, there are too many #define as part of the language, can't be modified. And is common to use functions names in mixed case, like DoAnything, MyFunction, StartProcess

Problem:

if enter keywords on lowercase, color syntax is ok, but autocomplete uses lowercase if enter keywords on uppercase or mixed, color syntax fail, but autocomplete uses the defined style.

Is possible to change coloring schema to ignore upper/lower on configuration?

define for harupdf can be a example

https://github.com/JoseQuintas/harbour34/blob/master/contrib/hbhpdf/harupdf.ch

Note: Constants on #define need match case or do not Works

JoseQuintas commented 7 years ago

solved using api file.