- either you find the text using text-search (before highlighting engine), then surround the text in a Tag... then highlight the rest...
- or you create a layer on top of Codepress which scrolls simultaneously with CP.
other then those i don't think so :-(
What i've done in MDK-Editor : http://www.mdk-photo.com/Editor is to make a layer on top of the content... which 'scrolls' together with the content... all errors are stored in a Array and are picked up while scrolling.
It was actually very easy to make, because the content is stored in a line-array, thus plotting errors is like plotting coordinates.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone!
I'm writing from Spain.
I'm programming a Web compiler. I want to underline a few lines of text, when they have errors.
Is it posible?
David
Well... hmm...
its going to be really tricky !!
- either you find the text using text-search (before highlighting engine), then surround the text in a Tag... then highlight the rest...
- or you create a layer on top of Codepress which scrolls simultaneously with CP.
other then those i don't think so :-(
What i've done in MDK-Editor : http://www.mdk-photo.com/Editor is to make a layer on top of the content... which 'scrolls' together with the content... all errors are stored in a Array and are picked up while scrolling.
It was actually very easy to make, because the content is stored in a line-array, thus plotting errors is like plotting coordinates.