Menu

Style to the text of the CP

2008-08-11
2013-04-24
  • DAVID ARIAS

    DAVID ARIAS - 2008-08-11

    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

     
    • Martin Daniel Kirk

      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.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.