Hi,
I was directed to you from the Notepad++ project (see
https://sourceforge.net/projects/notepad-plus/forums/forum/331753/topic/344
9665). I didn't have the time to look at the code (I might do that
someday), so my requests may not be properly worded or may not make too
much sense within this project (sorry for that), but here they are.
1. As I assume all lexers work with some token categories (keywords,
operators, etc.) my request would be to allow an interface for the user to
add elements to each category, at least for the languages where this makes
sense (i.e. Lisp/Scheme).
2. All lexers should probably allow a few (4 maybe) user-defined token
categories (to allow highlighting customization) and at least one of
user-defined operators (to accomodate less usual pre-processors).
3. I don't know if that would make sense, but a generic, fully
configurable, lexer may be useful for special situations. I know that this
couldn't really be efficient, and there may need to be a few of them to
accomodate fundamentally different ways of defining a syntax, but I think
this could prove useful for many situations.
Thanks and sorry if I'm too naive.
Vlad D.
Neil Hodgson
Scintilla
Won't Implement
Public
|
Date: 2009-11-11 22:04 The XML configuration files are used by notepad to initialize scintilla |
|
Date: 2009-11-08 20:42 "ScintillaEditView.h" is part of Notepad++ project, So it's definitively |
|
Date: 2009-11-07 07:45 OK ... I've done some more digging. In LexLisp.cxx, in the classifyWordLisp |
|
Date: 2009-11-06 22:57 I don't use or understand Notepad++, instead using SciTE and Komodo. The |
|
Date: 2009-11-06 12:57 I've browsed a bit the source code of both Scintilla/Scite and Notepad++. |
|
Date: 2009-11-06 05:56 Thanks for the quick answer. Yes, the first two requests go in the |
|
Date: 2009-11-06 02:39 1) Sounds like a generic lexer. I don't know a good way to implement this. |
| Field | Old Value | Date | By |
|---|---|---|---|
| artifact_group_id | None | 2009-11-06 02:39 | nyamatongwe |
| priority | 5 | 2009-11-06 02:39 | nyamatongwe |
| assigned_to | nobody | 2009-11-06 02:39 | nyamatongwe |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use