markup patch for synedit
Original Reporter info from Mantis: Martin @martin_frb
-
Reporter name: Martin Friebe
Original Reporter info from Mantis: Martin @martin_frb
- Reporter name: Martin Friebe
Description:
Here is the next version of the Markup.
- complete rework of PaintLines
All Markup (including selected-block) is applied before the token akku, allowing better usage of the token accu
A lot of calculations have been moved into Markup, improving readability (IMHO)
- Use Markup for
- Block selection / Incremental Match
- Highlight All
- Mouse Link
- Special Line
- Bracket Match [ fixes #0001621 ]
They all can set Fore-/Backgroundcolor => clNone works to keep the existing highlight
They can Add/Clear/Invert the Fontstyles (bold/italic/underline)
This includes dealing with Foreground-Background after Markup. (eg Active Breakpoint, which leaves Foreground unmodified => red token on red background, will be white (default background) token.)
Note: Mouse-Link forces underline, as some Fonts on Windows are slightly broken and don't always show fsUnderline. Mouse-Links now change the font color (if configured) for all Tokens (they did ignore font-color on directives until now)
- BracketMatching deals much better with utf8 or tabs in the text. The old code sometimes failed to find the matches.
Additional information:
There are a few todos, I will to in the next version
- porting the Editor-option changes to the new-editor-options
- dealing with the correct cut/copy from column-mode-blocks across tabs
- making incremental highlight-all a switch able option in editor enviroment
Mantis conversion info:
- Mantis ID: 11693
- Version: 0.9.25 (SVN)
- Fixed in revision: 15861 (#2e9d466c)
- Target version: 0.9.26