/[eiffelstudio]/trunk/Src/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
ViewVC logotype

Log of /trunk/Src/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 103347 - (view) (annotate) - [select for diffs]
Modified Thu Jul 18 15:24:16 2019 UTC (4 weeks, 3 days ago) by jfiat
File length: 175587 byte(s)
Diff to previous 103346
Fixed editor issue with manifest strings ending with %% such as "foo%%".

See bug#19527

Revision 103346 - (view) (annotate) - [select for diffs]
Modified Thu Jul 18 13:14:19 2019 UTC (4 weeks, 3 days ago) by jfiat
File length: 178064 byte(s)
Diff to previous 102046
Fixed issue with verbatim strings followed by a character.

See bug#19527 (and mailing list)

Revision 102046 - (view) (annotate) - [select for diffs]
Modified Mon Aug 20 13:29:01 2018 UTC (11 months, 4 weeks ago) by alexk
File length: 188603 byte(s)
Diff to previous 100792
Treated `is` as keyword regardless of current syntax variant because it is now used for an across loop.

Revision 100792 - (view) (annotate) - [select for diffs]
Modified Tue Sep 26 12:12:46 2017 UTC (22 months, 3 weeks ago) by alexk
File length: 190963 byte(s)
Diff to previous 99309
Fixed test#unicode008 by changing acceptable UTF-8 sequences to match those specified in the Unicode standard.

Revision 99309 - (view) (annotate) - [select for diffs]
Modified Wed Oct 19 12:07:13 2016 UTC (2 years, 9 months ago) by jfiat
File length: 179076 byte(s)
Diff to previous 98762
Added support for quoted feature in comment using two backticks such as `foo`  in addition to previous backtick and single quote `foo'.

Revision 98762 - (view) (annotate) - [select for diffs]
Modified Sun May 15 10:43:38 2016 UTC (3 years, 3 months ago) by manus
File length: 178928 byte(s)
Diff to previous 93222
Update generated files to new version of gelex and geyacc


Revision 93222 - (view) (annotate) - [select for diffs]
Modified Thu Nov 7 00:51:16 2013 UTC (5 years, 9 months ago) by manus
File length: 160667 byte(s)
Diff to previous 93150
Updated to new code generation of gobo.


Revision 93150 - (view) (annotate) - [select for diffs]
Modified Mon Oct 21 07:14:46 2013 UTC (5 years, 9 months ago) by tedf
File length: 160435 byte(s)
Diff to previous 89388
* Do not ignore %R in the scanner, but keep them as tokens in the editor, so
that the positions can be calculated exactly the same as the source on disk.

* Removed duty code of handling the difference caused by %R's removal in the
search tool and click/complete tool.

* Doing this also fixes a potential issue that inconsistency new line in a file
might cause offset when PND. As `file_standard_is_windows' was used and
consistent new lines was assumed.

* Uncommented the code in search tool to support partial Unicode Regex search
(Gobo does not fully support Unicode Regex search)

* Removed %R handling in EB_DEVELOPMENT_WINDOW. Use Unicode positions from the
parser instead of UNICODE_POSITION_MAPPER.

* With this patch, search result offset and PND selection offset issues are
fixed. It seems to me that the EIS entry display issue is also not reproducible
anymore, but I need to verify.

* Possible breaking change in the editor is that, the  clients needed to do what
we did to translate source positions to editor positions. Especially needed to
pay attention when using {KEYBOARD_SELECTABLE_TEXT_PANEL}.select_region. With
old code, it will not work anymore, as now the clients only need to provide
source positions without any translation.

review#13060003

Revision 89388 - (view) (annotate) - [select for diffs]
Modified Wed Aug 22 20:07:47 2012 UTC (6 years, 11 months ago) by manus
File length: 159877 byte(s)
Diff to previous 87433
Regenerated geyacc/gelex files to match the new version of Gobo.


Revision 87433 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 17:40:52 2011 UTC (7 years, 10 months ago) by alexk
File length: 159817 byte(s)
Diff to previous 84810
Removed release number from the constants indicating syntax variant because different syntax variants of different releases are not supported.
Promoted keywords `across' and `some' from provisional syntax to the standard one.
Changed handling of keywords in provisional mode to match that of standard mode because there are no provisional constructs at the moment.
Modified processing of keywords in editor: `across' and `some' are treated as keywords if current syntax is not obsolete, `is' is treated as `indexing'.
Updated default options: default syntax is now standard, attached-by-default is set to true unless specified otherwise.


Revision 84810 - (view) (annotate) - [select for diffs]
Modified Thu Nov 4 10:34:55 2010 UTC (8 years, 9 months ago) by tedf
File length: 160054 byte(s)
Diff to previous 81478
* Refactored scanners in the editor library. Made EDITOR_SYNTAX_SCANNER and EDITOR_BASIC_SCANNER direct descendants of EDITOR_SCANNER.
* Simplified EDITOR_BASIC_SCANNER and removed gobo dependency completely from the library.
* Adjusted corresponding code in EiffelStudio to maintain original functionalities (Still using Gobo Lexical).

Revision 81478 - (view) (annotate) - [select for diffs]
Modified Tue Nov 10 18:46:47 2009 UTC (9 years, 9 months ago) by alexk
File length: 160373 byte(s)
Diff to previous 81206
Changed processing of "across" and "some" to treat them as keywords only in provisional mode.


Revision 81206 - (view) (annotate) - [select for diffs]
Modified Wed Oct 21 12:06:43 2009 UTC (9 years, 9 months ago) by alexk
File length: 159742 byte(s)
Diff to previous 80984
Supported new keywords "across" and "some".
Extended syntax options to include "provisional" variant that stands for
the syntax that might be included in the forthcoming releases of the
standard.
Accepted new loop construct at parse time in provisional mode.


Revision 80984 - (view) (annotate) - [select for diffs]
Modified Wed Sep 30 22:33:27 2009 UTC (9 years, 10 months ago) by paulb
File length: 185576 byte(s)
Diff to previous 79047
Editor syntax highlighting now respects class level syntax options.


Revision 79047 - (view) (annotate) - [select for diffs]
Modified Tue Jun 2 22:50:50 2009 UTC (10 years, 2 months ago) by manus
File length: 184551 byte(s)
Diff to previous 78128
Updated copyright info.
Regenerated using the latest gelex tool.


Revision 78128 - (view) (annotate) - [select for diffs]
Modified Wed Apr 8 14:24:01 2009 UTC (10 years, 4 months ago) by tedf
File length: 183407 byte(s)
Diff to previous 77520
* Fixed bug#15590 that "~" and "/~" were not highlighted as operators.
* Corrected the generating script and used `gelex' from %ISE_EIFFEL%.

Revision 77520 - (view) (annotate) - [select for diffs]
Modified Wed Mar 4 01:50:25 2009 UTC (10 years, 5 months ago) by manus
File length: 184263 byte(s)
Diff to previous 77174
Updated to new syntax of object test and attached/detachable types using the `syntax_updater' tool.


Revision 77174 - (view) (annotate) - [select for diffs]
Modified Mon Feb 16 19:37:37 2009 UTC (10 years, 6 months ago) by manus
File length: 184410 byte(s)
Diff to previous 76432
Added support for new object test syntax `attached {T} exp as x' instead of `{x: T} exp',
  but also for the other variants `attached {T} exp', `attached exp as x' and `attached exp'.
  Currently `exp' can be any kind of expression but we need to restrict it to match the ECMA
  specification.
Added support for new attached/detachable type syntax which replaces ! and ?.


Revision 76432 - (view) (annotate) - [select for diffs]
Modified Mon Dec 29 23:41:59 2008 UTC (10 years, 7 months ago) by manus
File length: 179443 byte(s)
Diff to previous 74500
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 74500 - (view) (annotate) - [select for diffs]
Modified Tue Aug 19 14:24:14 2008 UTC (11 years ago) by alexk
File length: 179584 byte(s)
Diff to previous 74490
Supported new syntax for attributes (there is no associated semantics yet).

Revision 74490 - (view) (annotate) - [select for diffs]
Modified Sun Aug 17 06:56:59 2008 UTC (11 years ago) by alexk
File length: 177248 byte(s)
Diff to previous 74255
Added a new keyword `note' to highlight it in the editor.

Revision 74255 - (view) (annotate) - [select for diffs]
Modified Tue Jul 29 13:56:22 2008 UTC (11 years ago) by tedf
File length: 172782 byte(s)
Diff to previous 73981
- Do not do the special of "\'{UTF8_char}{1,2}" or "\'%\/[0-9]+(\/)?" to catch incorrect character, catch "\'([^' \t\r\n]|{NON_ASCII})+" instead. Now we treat everything until "'" or white chars after "'" as part of wrong character. This fixed bug#14526.

Revision 73981 - (view) (annotate) - [select for diffs]
Modified Tue Jul 1 07:44:03 2008 UTC (11 years, 1 month ago) by tedf
File length: 168040 byte(s)
Diff to previous 67856
- Extended editor library to support Unicode.
- ES
* Integrated new editor library into ES. Now Unicode chars can be correctly rendered in the editor, which is good for some GUI internationalization, Output tool, for example. But before we setup correct way of deciding encoding of source files, all Unicode char will be lost when saving, as for the moment we insist on ISO-8859-1 for compatibility.
* Cleared the ambiguity of Unicode internal representation to be UTF-32. Yet to decide which one Vision2 to take (UTF-32 or UTF-16), as WEL takes UTF-16 while Vision2(Unix) takes UTF-32 as far as I see.
* Changed some components in ES internally, to support Unicode, mostly for search tool and code completion. Searching for Unicode strings are still not available unless we compile against trunk of Gobo. More works are still needed for other components before full Unicode supports.
- Encoding library
* Changed APIs of encoding library to be command/query. Added `last_converted_stream'. 
* Made SYSTEM_ENCODINS in encoding library (abstracted from SHARED_LOCALE).
* Added abstract encoding detector in encoding library.
* Moved some useful API into ENCODING_HELPER.
- Changed {CLASS_I}.text to STRING_32 that returns class text in Unicode. Added interface ENCODING_CONVERTER into the compiler. This interface can also be used later to handle encoding conversion without introducing the encoding library.
- Some cosmetics.

Revision 67856 - (view) (annotate) - [select for diffs]
Modified Mon Apr 16 19:22:30 2007 UTC (12 years, 4 months ago) by martins
File length: 82319 byte(s)
Diff to previous 65152
Cosmetics: I replaced double (or more) lines in the source code by single lines automatically. So you might hit anomalies. But I hope they are just a few exceptions.

Revision 65152 - (view) (annotate) - [select for diffs]
Modified Mon Nov 20 21:46:04 2006 UTC (12 years, 9 months ago) by juliant
File length: 82321 byte(s)
Diff to previous 58995
marked 'bit' keyword and bit syntax as obsolete.
added syntax highlighting of binary and octal integer representation.

Revision 58995 - (view) (annotate) - [select for diffs]
Modified Tue May 16 15:50:42 2006 UTC (13 years, 3 months ago) by tedf
File length: 80413 byte(s)
Diff to previous 58663
Revised copyright for all scanners and parsers.

Revision 58663 - (view) (annotate) - [select for diffs]
Modified Wed May 3 00:36:01 2006 UTC (13 years, 3 months ago) by tedf
File length: 79006 byte(s)
Diff to previous 58325
1. Revised editor eiffel scanner to support new configuration system, where univers.class_by_name is modified into  CONF_GOUP.class_by_name. This makes mapping and renaming classes correctly display.
2. Made EB_EDITOR stonable.
3. Removed position checking so that newly typed feature can be pick and dropable without saving.
4. Made newly typed class pick and dropable, this is done by scanner side.


Revision 58325 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 16:05:16 2006 UTC (13 years, 4 months ago) by manus
File length: 80151 byte(s)
Diff to previous 58027
Moved trunk/Src/bench/Eiffel to trunk/Src/Eiffel.

Revision 58027 - (view) (annotate) - [select for diffs]
Modified Wed Apr 5 07:08:57 2006 UTC (13 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 80151 byte(s)
Diff to previous 56535
Fixed mixing paranthesis in indexing clause for the licensing.
Added missing license reference in newly created Eiffel classes.


Revision 56535 - (view) (annotate) - [select for diffs]
Modified Tue Jan 17 01:37:10 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 80150 byte(s)
Diff to previous 53226
Added text of the GPL license to all classes of the compiler.


Revision 53226 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 23:28:23 2005 UTC (14 years, 1 month ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 78745 byte(s)
Diff to previous 53101
New scanner generated from new lexer


Revision 53101 - (view) (annotate) - [select for diffs]
Modified Wed Jul 6 22:21:43 2005 UTC (14 years, 1 month ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 81170 byte(s)
Diff to previous 52863
More on verbatim string


Revision 52863 - (view) (annotate) - [select for diffs]
Modified Fri Jul 1 00:06:23 2005 UTC (14 years, 1 month ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 80857 byte(s)
Diff to previous 52529
Fixed problem when commenting out verbatim strings.


Revision 52529 - (view) (annotate) - [select for diffs]
Modified Thu Jun 23 13:52:11 2005 UTC (14 years, 1 month ago) by alexk
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 80488 byte(s)
Diff to previous 52347
Ensured that "infix" and "prefix" are processed as keywords.


Revision 52347 - (view) (annotate) - [select for diffs]
Modified Mon Jun 20 14:49:23 2005 UTC (14 years, 2 months ago) by alexk
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 79522 byte(s)
Diff to previous 52259
Supported integer literals with intermediate underscores at arbitrary positions.


Revision 52259 - (view) (annotate) - [select for diffs]
Modified Thu Jun 16 21:25:36 2005 UTC (14 years, 2 months ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 79398 byte(s)
Diff to previous 51809
Updated scanner due to lexer changes


Revision 51809 - (view) (annotate) - [select for diffs]
Modified Tue Jun 7 09:38:34 2005 UTC (14 years, 2 months ago) by alexk
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 75221 byte(s)
Diff to previous 51710
Added new keyword: assign.


Revision 51710 - (view) (annotate) - [select for diffs]
Modified Fri Jun 3 23:42:53 2005 UTC (14 years, 2 months ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 74604 byte(s)
Diff to previous 51251
Scanner for verbatim string handling with '{' characters


Revision 51251 - (view) (annotate) - [select for diffs]
Modified Fri May 20 14:20:44 2005 UTC (14 years, 3 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 74388 byte(s)
Diff to previous 50640
Fixed lexer definition file so that there is a blank before the starting `{' otherwise
  it caused an error in new version of `gelex'.
Updated generated file with code generated by new `gelex'.


Revision 50640 - (view) (annotate) - [select for diffs]
Modified Tue May 3 14:54:01 2005 UTC (14 years, 3 months ago) by alexk
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 72496 byte(s)
Diff to previous 49525
Supported highlighting for hexadecimal integer literals.


Revision 49525 - (view) (annotate) - [select for diffs]
Modified Sat Mar 26 00:24:55 2005 UTC (14 years, 4 months ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 71464 byte(s)
Diff to previous 49446
Regenerated eiffel text scannerfrom new lexer


Revision 49446 - (view) (annotate) - [select for diffs]
Modified Thu Mar 24 07:11:22 2005 UTC (14 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 59759 byte(s)
Diff to previous 42229
Use new syntax for static calls.


Revision 42229 - (view) (annotate) - [select for diffs]
Modified Sat Mar 20 05:28:12 2004 UTC (15 years, 5 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 59767 byte(s)
Diff to previous 40962
Added support for Void as a keyword.


Revision 40962 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 23:13:23 2004 UTC (15 years, 7 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 59182 byte(s)
Diff to previous 36844
Added support for recognizing `reference' as a keyword.


Revision 36844 - (view) (annotate) - [select for diffs]
Modified Fri Apr 18 21:55:28 2003 UTC (16 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 58347 byte(s)
Diff to previous 36523
Added `convert' keyword support.


Revision 36523 - (view) (annotate) - [select for diffs]
Modified Thu Apr 3 06:55:42 2003 UTC (16 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 57741 byte(s)
Diff to previous 32935
Updated to new Gobo 3.1


Revision 32935 - (view) (annotate) - [select for diffs]
Modified Fri Jul 12 00:00:19 2002 UTC (17 years, 1 month ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 53832 byte(s)
Diff to previous 32124
Previous integration was making parsing of ANY to failed each time we were
trying to save it in EiffelStudio. In addition of that it was allowing keyword
in a string which was not yet finished to be expanded by the editor.
Instead we rewrote the expression so that the previous problem was still fixed
and that it takes care of non-yet finished Eiffel string (see added comments
in .l file).


Revision 32124 - (view) (annotate) - [select for diffs]
Modified Mon May 20 18:40:11 2002 UTC (17 years, 3 months ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 53226 byte(s)
Diff to previous 31858
Fixed string bug (now allows "%%" at end of .e file)


Revision 31858 - (view) (annotate) - [select for diffs]
Modified Sun May 5 02:50:09 2002 UTC (17 years, 3 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 52894 byte(s)
Diff to previous 30142
Replaced `Platform.Maximum_character_code' with ISE's specific `feature {CHARACTER}.Max_value'
which are semantically identical.


Revision 30142 - (view) (annotate) - [select for diffs]
Modified Wed Jan 9 23:59:43 2002 UTC (17 years, 7 months ago) by xavier
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 52896 byte(s)
Diff to previous 26913
We now display in blue only uppercase names that corresponds to known classes. This improves indexing clauses (no more unneeded blue over ISE for example), and enables users to immediately spot errors in class names when they type.


Revision 26913 - (view) (annotate) - [select for diffs]
Added Sun Aug 12 23:50:20 2001 UTC (18 years ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/text_window/text/lexer/editor_eiffel_scanner.e
File length: 52715 byte(s)
Merged branch `dev46_manu' to the trunc.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.23