Castalia structural highlighting inside conditional blocks is only partial

Castalia structural highlighting inside conditional blocks is only partial

https://quality.embarcadero.com/browse/RSP-11764

 

13 thoughts on “Castalia structural highlighting inside conditional blocks is only partial


  1. I have found that the structural highlighting works better in units that doesn’t have a DFM. But would prefer it all the time, and the option of thickness of the lines too.


  2. I’d like to see some cutomisation options too – eg to have the lines “inside” the block, rather than as bracket-shaped lines outside.  (Ie, just a vertical line filling up the block left edge, like Sublime text does.)  Or, to fill in the whitespace with the block colour – that could be really nice, especially with very subtle / pastel colouring.


    On the plus side, the editor doesn’t flicker with the Castalia features.  When I bought a copy of Castalia, I had to uninstall it because the editor flickered too much – it was like a flourescent light. Seattle’s editor is rock solid, even more so than XE7 or XE8’s!


  3. David Millington Regarding the editor flicker: As Jacob Thurman is now working for Embarcadero, he has added some very useful interfaces to actually hook into the drawing code of the editor without hacks. That’s why it’s so smooth. If you look in the open tools api interfaces you’ll see a new one with callbacks for drawing before and after an line in the editor is drawn. I’m curious when others will use this to bring fancy things in the editor.


  4. Steffen Binas The Seattle build of Bookmarks actually uses exactly that interface 🙂


    I think one reason there is much less flicker is also because Castalia invalidated the editor window as a whole, a lot. The code inside the IDE now, though, doesn’t – it only invalidates specific lines or regions that need updating.


  5. Steffen Binas David Millington It would be nice if there were examples on how to use these new interfaces, even if it is just drawing all over the editor (in this case).


  6. I still prefer Lazarus IDE’s auto-dim or Low-lighting of inactive $IFDEF code. I’ve tweaked my color scheme so the inactive portion of code doesn’t distract me at all and clearly shows what code is active – just awesome.

Leave a Reply