Custom text editor in python - syntax highlight and documentation -


i using fullprof software rietveld refinements. uses input files .pcr files, list of control codes in predefined order. find such files hard play , i'd add little bit of syntax highlighting them. haven't found text editor supporting files, i'm looking making one.

what have in mind is:

  • make lexer highlight files. syntax depends on line number (e.g. line 1 title, lines 4 6 have syntax, lines after have syntax), has able take account;
  • make built-in documentation that, when select control code, second panel shows name, it's used , possible values are.

any ideas on modules/libraries use or existing programs extend?

i've looked pygments, i'm not sure can used syntax highlighting "as type", , qscintilla, can take account line number?

of course, if there simpler way of doing so, better , tips welcome.

i'd rather in python, open other languages, too.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -