> What do you think? Is there a chance that this will work? Are there
> other ideas?

I don't know anything about implementing this feature but it would be
_sweet_ if you could do it :).

Charlie


----- Original Message -----
From: "Carsten" <[EMAIL PROTECTED]>
To: "Discussion of the Scintilla editing component"
<[email protected]>
Sent: Thursday, June 02, 2005 2:46 PM
Subject: [scintilla] Hyperlinks in text


> Hi all,
>
> I wanted to extend scintilla to recognize hyperlinks like http:, ftp:,
> mailto: etc. My idea was to have a post lexer which find hyperlinks and
> mark them.
> I began to write a function ColouriseHyperlinks and wanted to call this
> function after lexing and folding in ScintillaBase::Colourise. But then
> I saw that I have to define one or more styles to use hyperlinks
> (hotspots). I wanted to have hyperlinks in every lexer but I didn't want
> to extend each lexer. I think the most of the languages have comments
> and strings. So I will need two or more styles. (comments are defined as
> line comment, block comment, javadoc comment) I think that won't be the
> right way to implement hyperlink recognition.
>
> The hotspots should be lexer/language independent. So hyperlinks should
> be an indicator than a style. Then it will be possible to mark
> hyperlinks independently from styles. What about a new indicator
> INDIC_HOTSPOT or INDIC_HYPERLINK? The look is same like INDIC_PLAIN. But
> the mouse behaviour is similar to hotspot style. I know there are three
> indicators only. So hyperlinks will be an option.
>
> I think it should be easy to extend scintilla to support these feature.
> What do you think? Is there a chance that this will work? Are there
> other ideas?
>
> Regards,
>
> Carsten
>
>
> _______________________________________________
> Scintilla-interest mailing list
> [email protected]
> http://mailman.lyra.org/mailman/listinfo/scintilla-interest
>
>
> --
> Internal Virus Database is out-of-date.
> Checked by AVG Anti-Virus.
> Version: 7.0.322 / Virus Database: 266.11.13 - Release Date: 5/19/2005
>

_______________________________________________
Scintilla-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Reply via email to