[ scintilla-Bugs-1775346 ] Problem of key word highlighting

View: New views
3 Messages — Rating Filter:   Alert me  

[ scintilla-Bugs-1775346 ] Problem of key word highlighting

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #1775346, was opened at 2007-08-16 19:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1775346&group_id=2439

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: SciTE
Group: Bug
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mendynew (mendynew)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem of key word highlighting

Initial Comment:
Open a file by SciTE,such as a c++ file.
If the key word is at the end of the file,i.e. after this word it is EOF.
In such case the key word can not be highlighted.
There's some problem in scintilla in Colourise*Doc function.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1775346&group_id=2439
_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@...
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Re: [ scintilla-Bugs-1775346 ] Problem of key word highlighting

by Robert Roessler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SourceForge.net wrote:

> Bugs item #1775346, was opened at 2007-08-16 19:25
> Message generated for change (Tracker Item Submitted) made by Item Submitter
> You can respond by visiting:
> https://sourceforge.net/tracker/?func=detail&atid=102439&aid=1775346&group_id=2439
> ...
> Initial Comment:
> Open a file by SciTE,such as a c++ file.
> If the key word is at the end of the file,i.e. after this word it is EOF.
> In such case the key word can not be highlighted.
> There's some problem in scintilla in Colourise*Doc function.

Actually, I think you will find that it is just a choice on the part of
the lexer writer.

Robert Roessler
robertr@...
http://www.rftp.com
_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@...
http://mailman.lyra.org/mailman/listinfo/scintilla-interest

Re: [ scintilla-Bugs-1775346 ] Problem of key word highlighting

by Philippe Lhoste-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 17/08/2007 04:49, Robert Roessler wrote:
>> Initial Comment:
>> Open a file by SciTE,such as a c++ file.
>> If the key word is at the end of the file,i.e. after this word it is EOF.
>> In such case the key word can not be highlighted.
>> There's some problem in scintilla in Colourise*Doc function.
>
> Actually, I think you will find that it is just a choice on the part of
> the lexer writer.

I doubt it is a voluntary choice... Anyway, the fix isn't very hard, I
have shown already how to implement it.

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --

_______________________________________________
Scintilla-interest mailing list
Scintilla-interest@...
http://mailman.lyra.org/mailman/listinfo/scintilla-interest