This forum is temporaily read-only. All existing discussions remain available for reference. For new questions, bug reports or support requests, please contact us at mail@lmdsupport.com.

URL highlighting in TLMDEditView?

edited February 2012 in LMD IDE-Tools
I am using TLMDEditView to edit small pieces of text without any specific syntax highlighting scheme. However, I would like the editor to highlight URLs and make them clickable, which is a popularly requested feature in every current editor. Is it possible? (If not, please treat this as a feature request).


Comments

  • Anyone? Hello?
  • edited February 2012
    Hi,

    Its, of course, possible to show URLs highlighted; you should learn how to write syntax schemes and write your URLs highlighting scheme. Standard schemes available with package include text scheme where e-mails are highlighted.

    But, there are no special mechanism, which will help you to make URLs clickable. You need to do everything manually: write OnClick event handler, transform coordinates, and then scan the text under the cursor for URL.

    Look also at OnGetMouseCursor event.
Sign In or Register to comment.