URL highlighting in TLMDEditView?
  • 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).


  • 2 Comments sorted by
  • Anyone? Hello?
  • 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.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID Sign In with Twitter

In this Discussion