Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2007
    Posts
    33

    Could you help me with HTML editor?

    Hi all,
    I'm trying to make a HTML editor in AMS. It would contain several buttons, which would make writing HTML code faster, than in Notepad. I'm using Input as object for typing, but I want to use a RichText object and differentiate HTML code from text (for example, text will be black and <p> will be purple etc.). However, I don't know, how to do that Do you have any ideas how to make this possible? Thank you

    Here's what I've already done (it's in Czech, but I'll translate it into English):

  2. #2
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534
    You're going to need to parse the text in the Richtext object, color it and then put it back into the Richtext object. I am working on this problem right now with a lua code viewer. The problem is that there is no function to get the Richtext line number. If we could figure this out then this parsing task would be easy.
    Action Plugins
    AllOn | Box | Class | Code | Cursor | DXML | Error | Frames | GlobalPaths | Group | INIPlus |KeyBind | KeyLock | MathEx | Menu | Name | Project | Resize | StatusBar
    Download

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts