FLTK logo

Re: [fltk/fltk] FLUID syntax highlighting bug with quotes (#135)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

Re: [fltk/fltk] FLUID syntax highlighting bug with quotes (#135) erco77 Sep 16, 2020  
 

@Albrecht-S yes, it'll easily go into 1.4; CodeEditor.cxx didn't change much at all between 1.3.x -> 1.4.x (other than the big whitespace mods).

I'm not sure I can commit this to 1.3.x anyway because it adds two files, StyleParseInfo.{cxx,h}, which would affect the IDE files in 1.3, and I ain't goin there, lol. For 1.4.x it's just a simple mod to the fluid/{Makefile,CMakeLists.txt} to add new files (I think), so cmake would pick that up to autogen the ide files, so that's all good.

Not sure about the test/editor demo; the way I broke it out into separate files might be too "complicated" for a demo. Perhaps the editor demo could be simplified; I didn't look at it, but maybe it could be changed from syntax highlighting C/C++ code to something simpler, as it might be a bit confusing for a beginner looking for inspiration for syntax highlighting with what is almost a full on C code parser. My currently pre-caffeinated mind can't offer an alternative, but there's probably something simpler it could do, like maybe highlight html tags, or maybe a syslog parser that highlights lines with "error:" and "warning:", and we could include a small sample log. I dunno, just thinkin out loud.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.