/[eiffelstudio]/branches/eth/eve/Src/library/editor
ViewVC logotype

Log of /branches/eth/eve/Src/library/editor

View Directory Listing Directory Listing


Sticky Revision:

Revision 92782 - Directory Listing
Modified Fri Jul 5 06:01:58 2013 UTC (6 years, 7 months ago) by jasonw
<<Merged from trunk#92781.>>

Revision 92684 - Directory Listing
Modified Fri Jun 7 15:28:53 2013 UTC (6 years, 8 months ago) by jasonw
<<Merged from trunk#92682.>>

Revision 92460 - Directory Listing
Modified Fri Apr 19 10:40:30 2013 UTC (6 years, 10 months ago) by jasonw
<<Merged from trunk#92459.>>

Revision 92434 - Directory Listing
Modified Fri Apr 12 10:41:30 2013 UTC (6 years, 10 months ago) by jasonw
<<Merged from trunk#92433.>>

Revision 92408 - Directory Listing
Modified Fri Apr 5 09:22:00 2013 UTC (6 years, 10 months ago) by jasonw
<<Merged from trunk#92407.>>

Revision 91379 - Directory Listing
Modified Fri Mar 15 08:48:07 2013 UTC (6 years, 11 months ago) by jasonw
<<Merged from trunk#91375.>>

Revision 91347 - Directory Listing
Modified Fri Mar 8 09:55:21 2013 UTC (6 years, 11 months ago) by jasonw
<<Merged from trunk#91345.>>

Revision 91272 - Directory Listing
Modified Fri Feb 22 12:41:46 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#91270.>>

Revision 91201 - Directory Listing
Modified Fri Feb 8 09:03:47 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#91200.>>

Revision 91117 - Directory Listing
Modified Fri Feb 1 08:57:09 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#91110.>>

Revision 91005 - Directory Listing
Modified Mon Jan 28 14:40:26 2013 UTC (7 years ago) by jasonw
<<Merged from trunk#90997.>>

Revision 90750 - Directory Listing
Modified Mon Jan 21 13:30:30 2013 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#90747.>>

Revision 90398 - Directory Listing
Modified Fri Jan 4 09:58:58 2013 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#90397.>>

Revision 90189 - Directory Listing
Modified Fri Dec 14 08:06:02 2012 UTC (7 years, 2 months ago) by jasonw
<<Merged from trunk#90188.>>

Revision 90122 - Directory Listing
Modified Fri Dec 7 08:28:50 2012 UTC (7 years, 2 months ago) by jasonw
<<Merged from trunk#90120.>>

Revision 89960 - Directory Listing
Modified Fri Nov 23 07:04:00 2012 UTC (7 years, 3 months ago) by jasonw
<<Merged from trunk#89959.>>

Revision 89919 - Directory Listing
Modified Fri Nov 16 11:24:26 2012 UTC (7 years, 3 months ago) by jasonw
<<Merged from trunk#89915.>>

Revision 89804 - Directory Listing
Modified Fri Nov 2 09:14:04 2012 UTC (7 years, 3 months ago) by jasonw
<<Merged from trunk#89803.>>

Revision 89619 - Directory Listing
Modified Fri Oct 19 04:16:13 2012 UTC (7 years, 4 months ago) by jasonw
<<Merged from trunk#89618.>>

Revision 89470 - Directory Listing
Modified Fri Sep 28 12:39:30 2012 UTC (7 years, 4 months ago) by jasonw
<<Merged from trunk#89469.>>

Revision 89221 - Directory Listing
Modified Fri Jul 27 13:54:06 2012 UTC (7 years, 7 months ago) by jasonw
<<Merged from trunk#89220.>>


Revision 88757 - Directory Listing
Modified Fri May 18 15:41:12 2012 UTC (7 years, 9 months ago) by jasonw
<<Merged from trunk#88756.>>


Revision 88274 - Directory Listing
Modified Mon Feb 6 16:05:31 2012 UTC (8 years ago) by jasonw
<<Merged from trunk#88273.>>


Revision 88234 - Directory Listing
Modified Fri Jan 27 09:58:45 2012 UTC (8 years, 1 month ago) by jasonw
<<Merged from trunk#88233.>>

Revision 87847 - Directory Listing
Modified Fri Nov 18 09:52:15 2011 UTC (8 years, 3 months ago) by jasonw
<<Merged from trunk#87846.>>

Revision 87721 - Directory Listing
Modified Fri Nov 4 09:32:23 2011 UTC (8 years, 3 months ago) by jasonw
<<Merged from trunk#87720.>>

Revision 87613 - Directory Listing
Modified Wed Oct 26 06:49:40 2011 UTC (8 years, 4 months ago) by jasonw
<<Merged from trunk#87612.>>

Revision 86863 - Directory Listing
Modified Fri Jul 15 12:15:19 2011 UTC (8 years, 7 months ago) by jasonw
<<Merged from trunk#86862.>>

Revision 86099 - Directory Listing
Modified Fri Apr 1 08:07:39 2011 UTC (8 years, 10 months ago) by jasonw
<<Merged from trunk#86097.>>

Revision 85362 - Directory Listing
Modified Sat Jan 15 14:00:47 2011 UTC (9 years, 1 month ago) by jasonw
<<Merged from trunk#85361.>>

Revision 85117 - Directory Listing
Modified Fri Dec 10 16:29:10 2010 UTC (9 years, 2 months ago) by jasonw
<<Merged from trunk#85114.>>

Revision 84836 - Directory Listing
Modified Fri Nov 5 12:16:32 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84828.>>

Revision 84757 - Directory Listing
Modified Fri Oct 29 18:56:40 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84753.>>

Revision 84583 - Directory Listing
Modified Fri Oct 15 11:57:58 2010 UTC (9 years, 4 months ago) by jasonw
<<Merged from trunk#84581.>>


Revision 84363 - Directory Listing
Modified Fri Sep 3 09:37:49 2010 UTC (9 years, 5 months ago) by jasonw
<<Merged from trunk#84362.>>

Revision 83445 - Directory Listing
Modified Sat Jun 5 15:29:40 2010 UTC (9 years, 8 months ago) by jasonw
<<Merged from trunk@83442.>>

Revision 83441 - Directory Listing
Modified Sat Jun 5 13:52:53 2010 UTC (9 years, 8 months ago) by jasonw
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.

Revision 83331 - Directory Listing
Modified Wed May 26 18:49:35 2010 UTC (9 years, 9 months ago) by jasonw
Original Path: branches/eth/eve3/Src/library/editor
<<Breanched from trunk@83330>> Created a branch to upgrade Eiffel Transform library to trunk.

Revision 82612 - Directory Listing
Modified Fri Mar 19 14:52:42 2010 UTC (9 years, 11 months ago) by jfiat
Original Path: trunk/Src/library/editor
minor optimization using attached keyword (i.e local)

Revision 82581 - Directory Listing
Modified Tue Mar 16 03:07:44 2010 UTC (9 years, 11 months ago) by manus
Original Path: trunk/Src/library/editor
Moved the experimental branch to be the default for libraries.


Revision 81675 - Directory Listing
Modified Thu Nov 26 08:27:19 2009 UTC (10 years, 3 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Added protection to avoid recursive infinite call according to the precondition.

Revision 81076 - Directory Listing
Modified Fri Oct 9 01:13:29 2009 UTC (10 years, 4 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Fixed full class checking compilation error by exporting missing creation routines.


Revision 80913 - Directory Listing
Modified Fri Sep 25 22:58:44 2009 UTC (10 years, 5 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Fixed bug#16292 where `first_non_blank_token' was incorrect written and instead of returning the firs
  non-blank token it was returning either the first blank token or it was crashes with a call on void target.
  To reproduce the issue, put the cursor below an empty line and press backspace.


Revision 80869 - Directory Listing
Modified Thu Sep 24 10:11:36 2009 UTC (10 years, 5 months ago) by jfiat
Original Path: trunk/Src/experimental/library/editor
Better fix for bug#13501: Ctrl+Shift+V pastes text
The previous commit rev#80624 introduced a bug (for instance Ctrl+Shift+RightArrow was not working anymore)

Revision 80795 - Directory Listing
Modified Tue Sep 22 09:35:13 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Removed useless code. Fixed a precondition violation at code completion.

Revision 80793 - Directory Listing
Modified Tue Sep 22 06:43:11 2009 UTC (10 years, 5 months ago) by jfiat
Original Path: trunk/Src/experimental/library/editor
Fixed wrong precondition


Revision 80726 - Directory Listing
Modified Wed Sep 16 07:41:16 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Improved Ctrl+U/Ctrl+Shift+U behavior. When no selected text, Ctrl + U now capitalize the character following the cursor. This meets the report from bug#11351.

Revision 80725 - Directory Listing
Modified Wed Sep 16 07:36:14 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Uncommented code that was somehow commented with no obvious reason.

Revision 80724 - Directory Listing
Modified Wed Sep 16 07:20:05 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Export `update_current_char' in EDITOR_CURSOR, as it is already exported in the ancestor class.
Fixed a bug that editor history was messed up by editing. The cause was the invalid old token replaced by the feature start token was still kept by the cursor. Now refresh the cursor token when the replacement is done.

To reproduce the bug:
1. Open an compiled class in the editor.
2. Move the cursor to the beginning of a feature, right before the feature name.
3. Press Delete, then Ctrl + Z to undo.
4. Now the cursor disappears, press any key to insert chars.
5. Ctrl + Z messes up the text.

Revision 80680 - Directory Listing
Modified Fri Sep 11 01:52:19 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Made the editor library void-safe.

Revision 80658 - Directory Listing
Modified Wed Sep 9 05:11:47 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Export to none.

Revision 80624 - Directory Listing
Modified Fri Sep 4 13:35:35 2009 UTC (10 years, 5 months ago) by jfiat
Original Path: trunk/Src/experimental/library/editor
Fixed bug#13501: Ctrl+Shift+V pastes text

Revision 80584 - Directory Listing
Modified Wed Sep 2 04:22:00 2009 UTC (10 years, 5 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Added class to pull `text' up for most undo commands.

Revision 80579 - Directory Listing
Modified Tue Sep 1 23:22:52 2009 UTC (10 years, 5 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Fixed bug#16033 by making sure that we do not uncomment the third line if we only select two, this is
  not only make sense but is necessary to match the behavior of commenting.


Revision 80388 - Directory Listing
Modified Fri Aug 21 21:40:11 2009 UTC (10 years, 6 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Made the code immune from whether or not there is a conversion from REAL_64 to REAL_32.


Revision 80311 - Directory Listing
Modified Tue Aug 18 05:40:19 2009 UTC (10 years, 6 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Set auto color of string background color with normal background color, so that changing normal background color also applies.

Revision 79962 - Directory Listing
Modified Mon Jul 27 17:49:00 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/experimental/library/editor
Fixed rendering of token, which was off by one pixel.
Added padding for better presentation.


Revision 79910 - Directory Listing
Modified Thu Jul 23 09:25:08 2009 UTC (10 years, 7 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Added possibility to customize editor token colors without using preference data. Now if colors are not set, colors from the preferences are used.

Revision 79909 - Directory Listing
Modified Thu Jul 23 09:22:14 2009 UTC (10 years, 7 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Move towards void-safty.

Revision 79612 - Directory Listing
Modified Thu Jul 9 09:30:11 2009 UTC (10 years, 7 months ago) by tedf
Original Path: trunk/Src/experimental/library/editor
Fixed offset problem when drawing temporary copy cut cursor. Fixed bug#5501: Can't drag selected text when horiz-scroll bar is not at home (left)

Revision 79262 - Directory Listing
Modified Fri Jun 12 23:25:45 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Added some missing void-safe ECFs.
Added .NET target for libraries that have .NET specific code or that are using C externals.


Revision 79141 - Directory Listing
Modified Mon Jun 8 23:11:37 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Made compilable with the void-safe version of SPECIAL.


Revision 79072 - Directory Listing
Modified Wed Jun 3 23:37:10 2009 UTC (10 years, 8 months ago) by manus
Original Path: trunk/Src/experimental/library/editor
Copy of $EIFFEL_SRC/library that will contain the void-safe SPECIAL changes.


Revision 78475 - Directory Listing
Modified Fri May 1 21:42:03 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Updated to 1-5-0 schema version of ECFs.


Revision 78147 - Directory Listing
Modified Thu Apr 9 18:51:56 2009 UTC (10 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Use new syntax for our test classes.


Revision 77760 - Directory Listing
Modified Mon Mar 16 23:29:52 2009 UTC (10 years, 11 months ago) by manus
Original Path: trunk/Src/library/editor
Added safe version of some Eiffel librairies.
Do not use `gobo.ecf' anymore, but one of its smaller subparts.


Revision 77353 - Directory Listing
Modified Thu Feb 26 11:37:29 2009 UTC (11 years ago) by tedf
Original Path: trunk/Src/library/editor
Disabled assertions of tests in irrelevant libraries.

Revision 77298 - Directory Listing
Modified Tue Feb 24 23:44:31 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/editor
Use new syntax for object test and attached/detachable type.


Revision 77266 - Directory Listing
Modified Mon Feb 23 18:40:29 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/editor
Fixed precondition violation in calling `set_first_line_displayed' in `on_text_load' when we are
  reloading a text smaller than the previous version and we were at the end of the text in the editor.
  Fixes bug#11799.


Revision 77195 - Directory Listing
Modified Thu Feb 19 03:46:22 2009 UTC (11 years ago) by tedf
Original Path: trunk/Src/library/editor
Added protection as the precondition requires. This will also improve a little bit of performance.

Revision 77194 - Directory Listing
Modified Thu Feb 19 03:43:51 2009 UTC (11 years ago) by tedf
Original Path: trunk/Src/library/editor
Excluded `tests'. Added missing `$'.

Revision 77191 - Directory Listing
Modified Wed Feb 18 09:22:20 2009 UTC (11 years ago) by tedf
Original Path: trunk/Src/library/editor
Added stress tests for the editor library.

Revision 77024 - Directory Listing
Modified Thu Feb 5 23:16:33 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/editor
Use `put' as creation procedure to prepare code for being compiled in void-safe mode.

Revision 76989 - Directory Listing
Modified Thu Feb 5 01:08:59 2009 UTC (11 years ago) by manus
Original Path: trunk/Src/library/editor
Use `append' instead of `append_string' when we know for sure that the argument is attached.


Revision 76856 - Directory Listing
Modified Wed Jan 28 00:41:35 2009 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Forgot to add the assertion on `new_cursor_from_character_pos'.


Revision 76855 - Directory Listing
Modified Wed Jan 28 00:39:55 2009 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Fixed a catcall because `cursor' is redefined in descendants of EDITABLE_TEXT by providing in 
  `EDITABLE_TEXT' a new query that returns a cursor of the proper type to users and use it in
  UNDO_SYMBOL_SELECTION_CMD.


Revision 76617 - Directory Listing
Modified Fri Jan 9 09:02:34 2009 UTC (11 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Added `flush' to force a full load of texts. This will be useful when the code modifier needs a sequence of modifications.

Revision 76528 - Directory Listing
Modified Thu Jan 1 01:29:02 2009 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Fixed full class checking errors by using anchors.


Revision 76526 - Directory Listing
Modified Thu Jan 1 01:20:26 2009 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Added redefinition of `cursor_type' to match what `text_displayed' is expecting in EDITABLE_TEXT_PANEL.
  This error was found when compiling with full class checking.


Revision 76420 - Directory Listing
Modified Mon Dec 29 20:27:11 2008 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 76156 - Directory Listing
Modified Mon Dec 15 05:04:58 2008 UTC (11 years, 2 months ago) by manus
Original Path: trunk/Src/library/editor
Adapted our libraries to use the alias names rather than infix/prefix since now EiffelBase is using the
  alias names for its operators.


Revision 76082 - Directory Listing
Modified Fri Dec 5 06:37:08 2008 UTC (11 years, 2 months ago) by tedf
Original Path: trunk/Src/library/editor
- Added ability to enable/disable auto scroll when selecting text by mouse, ability to disable scrollbars, to set margin width, fonts, line height and font offset for each editor instance rather than global dependence on the preferences.
- Added protections against improper calls when the editor had been recycled.
- Changed minimum `number_of_lines_in_block' to be 1 to make mini editor work correctly.
- Change `buffered_line' from once to be one instance per editor to support per editor instance rendering.
- Added some missing assertions and comments.
- Cosmetics.


Revision 76081 - Directory Listing
Modified Fri Dec 5 03:38:26 2008 UTC (11 years, 2 months ago) by tedf
Original Path: trunk/Src/library/editor
Removed warnings caused by variant position.
Cosmetics.

Revision 75867 - Directory Listing
Modified Mon Nov 24 06:51:21 2008 UTC (11 years, 3 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed incorrect check statement (checking next line when we should check the previous).


Revision 75605 - Directory Listing
Modified Fri Nov 14 19:14:10 2008 UTC (11 years, 3 months ago) by alexk
Original Path: trunk/Src/library/editor
Used creation procedure with explicit argument because it will be available in void-safe mode as well.

Revision 75469 - Directory Listing
Modified Fri Nov 7 08:17:09 2008 UTC (11 years, 3 months ago) by tedf
Original Path: trunk/Src/library/editor
- Added precondition of {TREE_ITEM}.index, {TREE_KEY}.pos_in_parent and {TREE_KEY}.number to ensure validity before querying them.
- Added invariants to make sure first_data and last_data are always valid in {B_345_TREE}, and that current_line is always valid in {TEXT}.
- Checked the validity of lines in various places in ES editor extension.
- The reason for doing this is that sometimes we buffer editor line instances for later use when those lines have been disconnected from the editor, which causes problem/crash.
- This fixes bug#14962 and potentially improved other related unreproducible bugs. At least, earlier to be exposed if still exist.

Revision 75325 - Directory Listing
Modified Tue Oct 28 16:50:40 2008 UTC (11 years, 4 months ago) by jfiat
Original Path: trunk/Src/library/editor
Fixed precondition violation by setting a default value to the font_zoom_factor

Revision 74938 - Directory Listing
Modified Fri Oct 3 17:45:28 2008 UTC (11 years, 4 months ago) by paulb
Original Path: trunk/Src/library/editor
Matched default highlight color to the preference file.


Revision 74601 - Directory Listing
Modified Wed Aug 27 10:26:31 2008 UTC (11 years, 6 months ago) by tedf
Original Path: trunk/Src/library/editor
- Improved comments according to code review document.
- Added missing assertions according to code review document. Modified clients to fit new assertions.
- Fixed minor problem. Use `=' instead of `is'. Use `Result' instead of an local.

Revision 74498 - Directory Listing
Modified Tue Aug 19 07:14:24 2008 UTC (11 years, 6 months ago) by tedf
Original Path: trunk/Src/library/editor
- Use Eiffel implementations of Unicode encoding conversion in encoding library. This significantly improves performances when converting between Unicode encodings. (So far only UTF-32<=>UTF-8, UTF-32<=>UTF-16 are implemented)
- Removed hacks that was for the same above purpose from the editor library.
- Changed original `encoding_imp' to once (now `regular_encoding_imp'), since we don't really need one implementation object for each encoding object.
- Lazy evaluation of `last_converted_stream'. So we gain speed when `last_converted_stream' is not used by the user.
- Minor improvements of comment and contract.

Revision 74402 - Directory Listing
Modified Mon Aug 11 21:45:16 2008 UTC (11 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed crash in `is_offset_valid' in invariant after `recycle' is called because `editor_viewport' is set to
  Void in `recycle'.


Revision 74158 - Directory Listing
Modified Wed Jul 23 09:36:17 2008 UTC (11 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
- Fixed bug#14600. The bug was caused by the incorrect storage of cursors in UNDO_SYMBOL_SELECTION_CMD. Those cursors keep references to editor lines which became invalid during other editor operations, hence querying for `index' of invalid lines resulted in bad access in B-345-tree. Because we only need line index information form stored cursor, we only need to handle this the same way as UNDO_UNSYMBOL_SELECTION_CMD.
- Refactored UNDO_UNSYMBOL_SELECTION_CMD to reuse code in UNDO_SYMBOL_SELECTION_CMD, since they are the same but inverse operations.


Revision 74106 - Directory Listing
Modified Fri Jul 18 13:48:01 2008 UTC (11 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
Optimized the editor scanner, using pure Eiffel implementation to convert UTF8 to UTF32 back and forth instead of encoding library. Since these routines are heavily loaded and encoding library conversion between UTF8 and UTF32 is slower than pure Eiffel implementation.

Revision 74103 - Directory Listing
Modified Fri Jul 18 02:20:34 2008 UTC (11 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed bug#14592. Invert drawing cursor colors so that blink-on color is the one different from background color. 

Revision 74012 - Directory Listing
Modified Thu Jul 3 15:28:56 2008 UTC (11 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
Improved cursor rendering colors, so that in all background colors, it has good feedback.

Revision 73981 - Directory Listing
Modified Tue Jul 1 07:44:03 2008 UTC (11 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
- 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 73341 - Directory Listing
Modified Tue May 6 17:32:39 2008 UTC (11 years, 9 months ago) by king
Original Path: trunk/Src/library/editor
Now forcing an editor redraw when the viewport is resized, this should guarantee that the drawing area is drawn after the viewport resize which previously was causing corruption in some circumstances.

Revision 73282 - Directory Listing
Modified Fri May 2 07:57:17 2008 UTC (11 years, 9 months ago) by larryl
Original Path: trunk/Src/library/editor
When "Ctrl + mouse wheel", instead of changing the font size directly, we store it in "font zoom factor" preference.


Revision 73082 - Directory Listing
Modified Thu Apr 17 19:05:05 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/editor
Removed all "once_status: global" which were committed in revision#73073 (or near)

In testing tool, use idle actions to read strings from process library output hook

Revision 73070 - Directory Listing
Modified Thu Apr 17 11:22:48 2008 UTC (11 years, 10 months ago) by larryl
Original Path: trunk/Src/library/editor
Added indexing "once_status: global" so the data can be used in other threads

Revision 72471 - Directory Listing
Modified Tue Feb 26 05:31:07 2008 UTC (12 years ago) by larryl
Original Path: trunk/Src/library/editor
Fixed typo. (identation -> indentation)

Fixed bug#14031: Typo in Preferences

Revision 71962 - Directory Listing
Modified Thu Jan 17 23:36:26 2008 UTC (12 years, 1 month ago) by paulb
Original Path: trunk/Src/library/editor
Added missing visitor calls/implementation for the editor glyph token.

Revision 71960 - Directory Listing
Modified Thu Jan 17 23:07:14 2008 UTC (12 years, 1 month ago) by paulb
Original Path: trunk/Src/library/editor
Added an editor token to represent an image glyph in the editor.

Revision 71581 - Directory Listing
Modified Thu Dec 20 06:21:27 2007 UTC (12 years, 2 months ago) by tedf
Original Path: trunk/Src/library/editor
- Added precondition in {B_345_TREE}.item. Either Added protection or meet the precondition in the clients. This fixed bug#13782.
- Added protection for formatter editors. Fixed bug#13783.


Revision 71183 - Directory Listing
Modified Fri Nov 16 13:27:00 2007 UTC (12 years, 3 months ago) by jfiat
Original Path: trunk/Src/library/editor
fixed typo

Revision 71182 - Directory Listing
Modified Fri Nov 16 13:20:19 2007 UTC (12 years, 3 months ago) by jfiat
Original Path: trunk/Src/library/editor
Fixed a call on Void target experienced on solaris.
`text_displayed' was Void

Revision 71175 - Directory Listing
Modified Fri Nov 16 00:40:42 2007 UTC (12 years, 3 months ago) by king
Original Path: trunk/Src/library/editor
Changed the default buffered_drawable_width to be 15000 due to incompatibilities with later versions of gtk using the previous value of 32000 when rendering line numbers

Revision 70989 - Directory Listing
Modified Thu Nov 1 17:14:19 2007 UTC (12 years, 3 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed memory leak and added protection against the text displayed object being Void.

Revision 70458 - Directory Listing
Modified Sat Sep 29 04:05:27 2007 UTC (12 years, 5 months ago) by manus
Original Path: trunk/Src/library/editor
Moved check statement to when the horizontal scrollbar is visible. As otherwise we get a check
  violation since the scrollbar is not yet updated since hidden. I'm not sure why it was not
  detected before.


Revision 70428 - Directory Listing
Modified Thu Sep 27 16:23:47 2007 UTC (12 years, 5 months ago) by paulb
Original Path: trunk/Src/library/editor
Added protection against a call on Void target crash.

Revision 69524 - Directory Listing
Modified Wed Jul 18 16:12:20 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed missing export status.


Revision 69523 - Directory Listing
Modified Wed Jul 18 16:12:01 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed code that would not compile anymore because it was using `editor_area' instead of `editor_drawing_area'.
But possibly we should make this obsolete in favor of MARGIN_WIDGET.


Revision 69521 - Directory Listing
Modified Wed Jul 18 15:55:02 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Better fix than last time, we use `icons' from `panel' instead. That way we do not break the interface.


Revision 69520 - Directory Listing
Modified Wed Jul 18 15:53:28 2007 UTC (12 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Updated creation procedure to also take `icons' since otherwise it is never set.


Revision 69429 - Directory Listing
Modified Sun Jul 15 04:27:52 2007 UTC (12 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
Added protection against calls on void of `cursors'. It prevents crash when `cursors' is not initialized by clients.

Reviewed by Manu.

Revision 68846 - Directory Listing
Modified Mon Jun 4 06:26:15 2007 UTC (12 years, 8 months ago) by tedf
Original Path: trunk/Src/library/editor
- Fixed bug#12322 that reloading caused cursor being set to incorrect position (caused a crash). Stored values are initialized.
- Fixed the problem reloading didn't reserve the cursor position.
- Added one to the place where we restore x cursor position, since the first cursor position of a line is 1, so the last position is char_count_of_a_line + 1.
- Added protection in TEXT_PANEL.setup_editor. And invoke it after the first block is loaded. This fixed the problem that we didn't render text of flat view until a full loading.
- Added related invariants.

Revision 68478 - Directory Listing
Modified Sat May 19 22:39:26 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Removed structured_text cluster that was formerly used by the compiler and should not have been inserted
  in the editor library.


Revision 68447 - Directory Listing
Modified Fri May 18 19:35:23 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed a blinking cursor problem due to the new behavior of action sequences that won't execute
  if themself being executed. Now we simply call `internal_draw_cursor' all the time.
Use `False' as argument to prevent an immediate refresh of the editor since it is enough to wait
  the idle actions for that.


Revision 68385 - Directory Listing
Modified Thu May 17 05:06:54 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed bug#12731 where clicking on the margin would loose the focus from the editor.
  Now, when the margin receives the focus, we set it back to the editor.
  Had to change `lose_focus' to not call `suspend_cursor_blinking' as this caused
  an immediate refresh and this is not needed because the drawing routine takes the focus
  into account.
Fixed `invalidate_selection_rect' to use the `flush_screen' argument rather than passing
  `True' to the `invalid_block' call.


Revision 68379 - Directory Listing
Modified Wed May 16 21:40:52 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Renamed `changed' into `is_modified' which is clearer.


Revision 68330 - Directory Listing
Modified Tue May 15 20:53:28 2007 UTC (12 years, 9 months ago) by juliant
Original Path: trunk/Src/library/editor
Changed filenames to match classnames

Revision 68234 - Directory Listing
Modified Thu May 10 22:43:07 2007 UTC (12 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Simplified the search dialog hierarchy to remove useless containers.
Removed `replace_check_button' which has been hidden for a long time and not used since search and replace
  are always shown. As a consequence removed the need for `mode_is_search' and `set_mode_is_search'.
Changed `select_current_token' so that it takes an argument to say whether or not we are looking for the
  current token or the word under the current token or the one before. This is useful for the search
  where Ctrl+F3 in EiffelStudio will not search for a word when cursor is at the end of the word. Fixes
  bug#12650.


Revision 68087 - Directory Listing
Modified Thu May 3 17:33:51 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
Reformatted using resave tool, which mirrors how EiffelStudio's configuration UI save the settings.

Revision 68048 - Directory Listing
Modified Tue May 1 19:29:32 2007 UTC (12 years, 9 months ago) by king
Original Path: trunk/Src/library/editor
Now using EV_APPLICATION.transport_in_progress for determining whether keyboard handling should be ignored.

Revision 67685 - Directory Listing
Modified Mon Apr 2 18:53:48 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/library/editor
Formatted using spaces.
Set namespace to create neat namespaces in accordance to new rules.

Revision 67440 - Directory Listing
Modified Thu Mar 22 03:27:32 2007 UTC (12 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Added protection to fix `fld_in_range' precondition violation.

Revision 67002 - Directory Listing
Modified Thu Mar 1 08:56:51 2007 UTC (12 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed the problem that Ctrl + Alt could not be used as editor shortcut.


Revision 66983 - Directory Listing
Modified Wed Feb 28 19:53:54 2007 UTC (12 years, 11 months ago) by manus
Original Path: trunk/Src/library/editor
Prevent precondition violation in calling `set_first_line_displayed'. Fixes bug#12154.


Revision 66897 - Directory Listing
Modified Mon Feb 26 01:21:42 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/editor
Fixed wrong postcondition with recent changes to have the margin always part
  of the widget hierarchy instead of being recreated each time.


Revision 66834 - Directory Listing
Modified Thu Feb 22 03:54:22 2007 UTC (13 years ago) by jasonw
Original Path: trunk/Src/library/editor
Replaced empty TUPLE [] usage by Void in some places.

Revision 66774 - Directory Listing
Modified Tue Feb 20 00:39:51 2007 UTC (13 years ago) by paulb
Original Path: trunk/Src/library/editor
Added default namespaces for .NET

Revision 66723 - Directory Listing
Modified Fri Feb 16 06:35:51 2007 UTC (13 years ago) by jasonw
Original Path: trunk/Src/library/editor
Removed an unused local.

Revision 66625 - Directory Listing
Modified Tue Feb 13 06:26:57 2007 UTC (13 years ago) by tedf
Original Path: trunk/Src/library/editor
Added the feature requested at bug#12046 that Ctrl+F3 searches current word if no text is selected.
Fixed the bug that menu commands like "Select All" and sub commands of "Search" didn't work as their shortcuts did. i.e. "Select All" always selected texts in main editor, but Ctrl+A did correct thing that was select all texts in the editor where focus was.
Removed unnecessary preconditions in {MSR_ITEM} and {MSR_TEXT_ITEM}.

Revision 66605 - Directory Listing
Modified Mon Feb 12 09:07:18 2007 UTC (13 years ago) by tedf
Original Path: trunk/Src/library/editor
Fixed bug#5437 that Shift+End selects too much text. This is actually not a bug. From the code, it was our indention. Since Shift + Down does the same thing. It doesn't make sense to keep this "smart" behavior.

Revision 66540 - Directory Listing
Modified Thu Feb 8 19:37:16 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/editor
Removed build project from editor library because generated code was once modified by hands
  and it does not match what EiffelBuild now generates.
Simplified structure of margin so that we only have the viewport and the drawing area (we removed
  the cell and the 2 boxes we had before getting to the viewport).
Updated code to show/hide margin by simply calling `show/hide' instead of pruning widgets.


Revision 66520 - Directory Listing
Modified Thu Feb 8 02:53:24 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/editor
Improved behavior of loading and reloading a file that does not exist anymore on disk.


Revision 66451 - Directory Listing
Modified Sat Feb 3 19:33:16 2007 UTC (13 years ago) by manus
Original Path: trunk/Src/library/editor
Fixed an issue where if a class is replaced by another text but with the same
  modification date, EiffelStudio would not upload it. Now, we also compare the
  size too which usually if it is the same date but a different size we have to
  reload it. 
  To reproduce copy eweasel/tests/storable006/test.e over eweasel/tests/storable007/test.e
  which had the same modification date on my system.


Revision 66363 - Directory Listing
Modified Wed Jan 31 01:16:54 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/editor
Change back on_text_fully_loaded (from TEXT_OBSERVER_MANAGER) codes to previous version. Not breaking consistency in TEXT_OBSERVER_MANAGER.
Modified EB_EDITOR_COMMAND_CONTROLLER set_current_editor, added a precondition and comments.
Modified EB_DEVELOPMENT_WINDOW_UI set_current_editor to make sure not breaking the arrayed list looping.
Fixed bug#11943.

Revision 66349 - Directory Listing
Modified Tue Jan 30 06:32:23 2007 UTC (13 years ago) by larryl
Original Path: trunk/Src/library/editor
Let on_text_fully_loaded do more things for client classes, is_notifying is not needed if we twin the arrayed list.
Fixed bug#11943

Revision 66330 - Directory Listing
Modified Mon Jan 29 15:23:12 2007 UTC (13 years ago) by jfiat
Original Path: trunk/Src/library/editor
- protected against call on void (text_displayed could be Void) regarding the observer management.
- minor optimizations using locals

Revision 66186 - Directory Listing
Modified Wed Jan 24 19:07:41 2007 UTC (13 years, 1 month ago) by king
Original Path: trunk/Src/library/editor
Fixed bug when calling set_focus on an uninitialized editor, removed unnecessary overdraw of margin when flushing

Revision 66134 - Directory Listing
Modified Tue Jan 23 18:57:27 2007 UTC (13 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Used EV_SHARED_APPLIATION to get `ev_application' rather than creating our own once.


Revision 66080 - Directory Listing
Modified Mon Jan 22 08:04:12 2007 UTC (13 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Widenned interfaces of TEXT_FOMATTER to be STRING_GENERAL. By doing this, outputs going to the console are avoided from data lose. Since the editor doesn't accept wide string, strings parsed to the editor in EDITOR_TOKEN_WRITER are temporarily forced to be truncated as STRING_8.
Adapted WARNING_MESSAGES and its referees for internationalization.

Revision 66020 - Directory Listing
Modified Fri Jan 19 01:06:56 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/editor
Added if protection to make sure no contract broken.

Revision 65878 - Directory Listing
Modified Fri Jan 12 06:36:01 2007 UTC (13 years, 1 month ago) by larryl
Original Path: trunk/Src/library/editor
Fixed a invariant violation.

Revision 65418 - Directory Listing
Modified Wed Dec 6 19:29:36 2006 UTC (13 years, 2 months ago) by king
Original Path: trunk/Src/library/editor
Made idle handling thread safe

Revision 65417 - Directory Listing
Modified Wed Dec 6 19:29:06 2006 UTC (13 years, 2 months ago) by king
Original Path: trunk/Src/library/editor
Now tabs have to be at least one pixel wide or editor will crash with certain font on unix when value is zero

Revision 65359 - Directory Listing
Modified Tue Dec 5 05:44:11 2006 UTC (13 years, 2 months ago) by jasonw
Original Path: trunk/Src/library/editor
Added `set_image' feature.

Revision 65250 - Directory Listing
Modified Mon Nov 27 16:20:23 2006 UTC (13 years, 3 months ago) by manus
Original Path: trunk/Src/library/editor
Commented out invariant until we can express it so that it works while doing a modification.


Revision 65138 - Directory Listing
Modified Fri Nov 17 08:21:53 2006 UTC (13 years, 3 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed bug#11645 that tags and blanks are pickable.
pos_in_text was internally used for PND. Since it is used somewhere else, a new flag is added for the job. 

Revision 65042 - Directory Listing
Modified Tue Nov 14 16:50:19 2006 UTC (13 years, 3 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed invariant violation by either changing the order of calls in creation routine
  or modifying the invariant to take into account a state.


Revision 64911 - Directory Listing
Modified Thu Nov 9 00:36:43 2006 UTC (13 years, 3 months ago) by konradm
Original Path: trunk/Src/library/editor
- Added compiler support for supplier preconditions.
- In finalized code the dynamic type is now used to detect whether assertions need to be checked.
- Implemented invariant checking in finalized code.
- Changed ecf files of libraries to not have any assertion checking.

Revision 64862 - Directory Listing
Modified Tue Nov 7 21:59:21 2006 UTC (13 years, 3 months ago) by patrickr
Original Path: trunk/Src/library/editor
Changed to use ISE_LIBRARY instead of EIFFEL_SRC


Revision 64646 - Directory Listing
Modified Mon Oct 30 17:39:41 2006 UTC (13 years, 3 months ago) by patrickr
Original Path: trunk/Src/library/editor
cleaned up various configuration files

Revision 63623 - Directory Listing
Modified Sat Sep 16 01:03:10 2006 UTC (13 years, 5 months ago) by manus
Original Path: trunk/Src/library/editor
Added `pos_in_text' as an attribute in EDITOR_TOKEN, that way we can know for
  each token their actual location. Before this was only enabled for EDITOR_TOKEN_TEXT.
Cosmetics.


Revision 63622 - Directory Listing
Modified Sat Sep 16 01:02:12 2006 UTC (13 years, 5 months ago) by manus
Original Path: trunk/Src/library/editor
Cosmetics. Made functions actually constants to show better what they really are.


Revision 63148 - Directory Listing
Modified Wed Aug 30 23:25:25 2006 UTC (13 years, 5 months ago) by patrickr
Original Path: trunk/Src/library/editor
removed old syntax stuff

Revision 63080 - Directory Listing
Modified Tue Aug 29 17:57:30 2006 UTC (13 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Made sure that tabulation_spaces is always at least 1.
Fixed VTCM warning.


Revision 62983 - Directory Listing
Modified Fri Aug 25 23:35:16 2006 UTC (13 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed bug#5279 where we checked if the mouse position was still on the editor to allow the
  cut operation when dragging text. This was needed at the time we did not update the cursor
  position when mouse was outside the editor, but now that we does, we simply don't need
  the check, only the one that tells if we are over the selected area is still required.


Revision 62437 - Directory Listing
Modified Fri Aug 11 18:29:00 2006 UTC (13 years, 6 months ago) by king
Original Path: trunk/Src/library/editor
Added improved line height algorithm that matches the default line heeights (from vim/vs) on both windows and *nix

Revision 62341 - Directory Listing
Modified Tue Aug 8 17:50:30 2006 UTC (13 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Removed call to `set_focus' (in `on_mouse_button_down') which was added by mistake
  at the previous version of this file.


Revision 62326 - Directory Listing
Modified Mon Aug 7 23:54:52 2006 UTC (13 years, 6 months ago) by patrickr
Original Path: trunk/Src/library/editor
focus to text editor if the margin of a text editor is clicked
fixed wrong position if clicked in margin, fixes bug#10007

Revision 61554 - Directory Listing
Modified Sat Jul 22 00:32:44 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Moved gobo.ecf to gobo directory. Updated existing .ecf file accordingly.

Revision 61481 - Directory Listing
Modified Wed Jul 19 19:36:46 2006 UTC (13 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
We do not insert any symbol in front of empty lines when symboling a selection.

Revision 61253 - Directory Listing
Modified Wed Jul 12 22:15:52 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Use EV_POINTER_STYLE instead of EV_CURSOR.


Revision 61207 - Directory Listing
Modified Wed Jul 12 00:54:36 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Exported `number_of_lines_displayed' and `number_of_lines_displayed_from_text'.


Revision 61194 - Directory Listing
Modified Tue Jul 11 23:38:50 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed issue when recycling the editor, it would trigger a call to `lose_focus' but because
  `editor_drawing_area' is already destroyed it would violate a precondition.


Revision 61185 - Directory Listing
Modified Tue Jul 11 21:30:07 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Now use EV_POINTER_STYLE instead of EV_CURSOR.


Revision 61038 - Directory Listing
Modified Fri Jul 7 00:00:23 2006 UTC (13 years, 7 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed a bug that the editor cursor did not blink when the actual focus is in.

Revision 60996 - Directory Listing
Modified Wed Jul 5 23:04:48 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed minor typo in comment.


Revision 59888 - Directory Listing
Modified Fri Jun 16 18:35:14 2006 UTC (13 years, 8 months ago) by patrickr
Original Path: trunk/Src/library/editor
moved CONF_HASH_TABLE (a hash table which has an is_equal implementation that checks the values) into base_extension library

Revision 59206 - Directory Listing
Modified Thu May 25 17:10:35 2006 UTC (13 years, 9 months ago) by jasonw
Original Path: trunk/Src/library/editor
Added a query `is_tabulation' in editor token classes.

Revision 59055 - Directory Listing
Modified Thu May 18 17:14:14 2006 UTC (13 years, 9 months ago) by patrickr
Original Path: trunk/Src/library/editor
changed default assertion level of libraries to require only

Revision 59034 - Directory Listing
Modified Wed May 17 20:16:53 2006 UTC (13 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Renamed all .acex file into .ecf file as requested to match the
  definition we currently give in the open dialog (Eiffel Config File).
  It also makes life easier when building Windows installation since
  we don't need to use the short name with the wrong extension (use ACE
  instead of ACEX).
Updated Eiffel code that was using the acex manifest constant to use a constant
  whenever it was possible.


Revision 58965 - Directory Listing
Modified Mon May 15 21:09:48 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
calling go_smart_home now performs a true home when user has a selection from smart home position to another position.

Revision 58871 - Directory Listing
Modified Wed May 10 17:16:19 2006 UTC (13 years, 9 months ago) by jasonw
Original Path: trunk/Src/library/editor
Added `is_new_line' flag into editor tokens.

Revision 58718 - Directory Listing
Modified Fri May 5 22:30:37 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
Renamed call to TEXT_CURSOR.go_home to TEXT_CURSOR.go_smart_home.

Revision 58717 - Directory Listing
Modified Fri May 5 22:29:47 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
renamed `go_home' to `go_smart_home' and fixed bug where cursor placement in the middle of a non-whitespace token would not move.

Revision 58703 - Directory Listing
Modified Fri May 5 16:36:55 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
Added cursor manipulation routine `go_home' to smartly go to home character position.

Revision 58702 - Directory Listing
Modified Fri May 5 16:36:02 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
HOME key will not go either to the first non-whitespace or the start of the line,
based on a user set preference.

Revision 58701 - Directory Listing
Modified Fri May 5 16:35:18 2006 UTC (13 years, 9 months ago) by paulb
Original Path: trunk/Src/library/editor
Added smart home preference.

Revision 58575 - Directory Listing
Modified Fri Apr 28 23:46:02 2006 UTC (13 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Normalized the XML content to follow result of an XSL Transformation.


Revision 58277 - Directory Listing
Modified Tue Apr 18 22:02:15 2006 UTC (13 years, 10 months ago) by patrickr
Original Path: trunk/Src/library/editor
updated configuration files for new conditionals

Revision 58195 - Directory Listing
Modified Thu Apr 13 22:17:54 2006 UTC (13 years, 10 months ago) by patrickr
Original Path: trunk/Src/library/editor
excluded some unneeded directories

Revision 58155 - Directory Listing
Modified Tue Apr 11 02:23:56 2006 UTC (13 years, 10 months ago) by tedf
Original Path: trunk/Src/library/editor
Show vertical scrollbar correctly.
And since the bug of viewport's width and height has been fixed, I removed the FIXME comment and protection.

Revision 58148 - Directory Listing
Modified Mon Apr 10 22:01:44 2006 UTC (13 years, 10 months ago) by tedf
Original Path: trunk/Src/library/editor
Temporarily add protection when checking cursor position. Because if an editor is never displayed on the screen, we do not get correct height and width of the viewport, which might be a vision2 bug.
We can avoid "fld_small_enough" precondition violation.

Revision 58137 - Directory Listing
Modified Sun Apr 9 02:14:42 2006 UTC (13 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Added gobo configuration file and update existing config files to use this one instead
  of non-existing one.
Fixed external clauses for WEL, Vision2 and EiffelNet.


Revision 58136 - Directory Listing
Modified Sun Apr 9 02:13:23 2006 UTC (13 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Removed exports to classes not part of the library.


Revision 58038 - Directory Listing
Modified Wed Apr 5 17:39:28 2006 UTC (13 years, 10 months ago) by tedf
Original Path: trunk/Src/library/editor
Modified subversion eol-style to be native.
Uses different preferences library on different platforms in editor library.

Revision 58013 - Directory Listing
Modified Tue Apr 4 00:25:14 2006 UTC (13 years, 10 months ago) by tedf
Original Path: trunk/Src/library/editor
Modified and some existing acex.
First commit of library acex files.

Revision 58009 - Directory Listing
Modified Mon Apr 3 20:52:27 2006 UTC (13 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Removed obsolete call to `to_character' from CHARACTER, which is now replaced by `to_character_8'.

Revision 57643 - Directory Listing
Modified Thu Mar 23 07:30:56 2006 UTC (13 years, 11 months ago) by manus
Original Path: trunk/Src/library/editor
Updated to WEL/Vision2 which are now Unicode based.


Revision 57606 - Directory Listing
Modified Wed Mar 22 23:12:52 2006 UTC (13 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Improved color and font id implementation by inheriting from EDITOR_TOKEN_IDS rather than reading from preference.

Revision 57597 - Directory Listing
Modified Wed Mar 22 17:28:29 2006 UTC (13 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed the bug the first time switch to warnings after a project's compilation from scratch, the viewport of the editor moved slightly rightward. It was because check cursor position happened when the editor was not shown, meanwhile viewport does not return correct width and height.
Removed redundant code and improved initialization in clickable editor.

Revision 57549 - Directory Listing
Modified Mon Mar 20 22:15:42 2006 UTC (13 years, 11 months ago) by manus
Original Path: trunk/Src/library/editor
Optimized `paste' by only querying the clipboard only once.


Revision 57527 - Directory Listing
Modified Sat Mar 18 02:09:54 2006 UTC (13 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Added font_id, color_id etc. attributes in EDITOR_TOKEN.
Together with the EDITOR_DATA, implemented id based color and font retrieving mechanism.

Revision 57453 - Directory Listing
Modified Tue Mar 14 17:52:23 2006 UTC (13 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed the bug that we removed trailing blanks within verbatim strings.

Revision 57426 - Directory Listing
Modified Fri Mar 10 20:30:45 2006 UTC (13 years, 11 months ago) by tedf
Original Path: trunk/Src/library/editor
1. Removed all STRUCTURED_TEXT within the compiler.
2. Replaced with TEXT_FORMATTER for editor and documentation output formatting.
 Generally, there are five descendents for the moment.
-OUTPUT_WINDOW: For simple string output. i.e. Command line, file, buffered string etc.
-TEXT_FILTER: For various documentation formatting.
-EB_OUPUT_MANAGER: Mainly for EB_GRAPHICAL_OUTPUT_MANAGER decoration.
-EDITOR_TOKEN_WRITER: Editor tokens are translated here for colorized editor views.
-TEXT_FORMATTER_DECORATOR: A decorator of TEXT_FORMATTERS. Handles context and formatting information. AST visits for outputs are mainly mediated here.
 There are two sets of interface, process_* and add_*. The main one is process_* which is recommended to use. add_* is from STRUCTURED_TEXT which does not exist any more. As it affected vastly, I still keep its interfaces.
3. SHARED_TEXT_ITEMS are all strings now, as items in structured text have been removed.
4. Wrote AST_OUTPUT_STRATEGY which is an AST_VISITOR processing AST to TEXT_FORMATTER. Wrote AST_DECORATED_OUTPUT_STRATEGY a client of TEXT_FORMATTER_DECORATOR. And one AST_DOCUMENTATION_OUTPUT_STRATEGY only for documentation.
5. Removed flat/short views buffering of STRUCTURED_TEXT. It is slightly slower than before, but in my opinion acceptable.
6. Wrote a AST_TYPE_OUTPUT_STRATEGY which visit a type and print its ‘text’ representation output to a TEXT_FORMATTER.
7. Rewrote TOKEN_VISITOR and a descendant EIFFEL_TOKEN_VISITOR for editor tokens in library and in the compiler.
8. Leave printer command prints simple text in current editor. Further work will be done a little later.
9. We gain 22% faster of documentation generation for the moment. Less than we expected, I think, mainly because of additions and accuracy we gain.



Revision 56927 - Directory Listing
Modified Mon Feb 6 16:56:11 2006 UTC (14 years ago) by jfiat
Original Path: trunk/Src/library/editor
change SHORTCUT_PREFERENCE to use TUPLE [BOOLEAN, BOOLEAN, BOOLEAN, STRING] instead of ARRAY [STRING]
updated impacted classes.

Revision 56833 - Directory Listing
Modified Thu Feb 2 18:02:13 2006 UTC (14 years ago) by tedf
Original Path: trunk/Src/library/editor
Fixed that cursor moved after indenting a selection region with the cursor ends at the beginning of the first line.

Revision 56675 - Directory Listing
Modified Mon Jan 23 02:25:44 2006 UTC (14 years, 1 month ago) by manus
Original Path: trunk/Src/library/editor
Added Eiffel Forum License Version 2 and missing copyright statments.


Revision 56467 - Directory Listing
Modified Sat Jan 7 06:53:57 2006 UTC (14 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Added `is_fake' to editor_token.
Added `remove_fake_tab' and marking fake tab mechanism.


Revision 56438 - Directory Listing
Modified Sat Dec 31 02:51:18 2005 UTC (14 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Fixed undo commenting or indenting lines messes text history up.
Correct some cursor handling problem.


Revision 56437 - Directory Listing
Modified Fri Dec 30 21:54:55 2005 UTC (14 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Renamed undo_remove_trailing_blank_cmd.e as undo_delete_strings_cmd.e.


Revision 56436 - Directory Listing
Modified Fri Dec 30 21:53:06 2005 UTC (14 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Made uncommenting remove the first comment symbols of a line other than only ones at the beginning of the line.


Revision 56425 - Directory Listing
Modified Thu Dec 29 17:57:08 2005 UTC (14 years, 1 month ago) by tedf
Original Path: trunk/Src/library/editor
Fixed that when scroll to the bottom and resize to larger then scroll up a little, the text would get messed up.


Revision 56324 - Directory Listing
Modified Thu Dec 22 18:28:08 2005 UTC (14 years, 2 months ago) by manus
Original Path: trunk/Src/library/editor
Made it compile with `gelint'.


Revision 56319 - Directory Listing
Modified Thu Dec 22 17:42:41 2005 UTC (14 years, 2 months ago) by tedf
Original Path: trunk/Src/library/editor
Fixed scrolling bug which was caused by reading different `maximum_top_line_index'.


Revision 56311 - Directory Listing
Modified Thu Dec 22 00:46:32 2005 UTC (14 years, 2 months ago) by manus
Original Path: trunk/Src/library/editor
Made it compiler under gelint.


Revision 55846 - Directory Listing
Modified Tue Nov 22 19:23:05 2005 UTC (14 years, 3 months ago) by tedf
Original Path: trunk/Src/library/editor
Removing trailing blanks discards blanks before the text cursor.
Removed trailing blanks.


Revision 55542 - Directory Listing
Modified Wed Nov 2 00:13:26 2005 UTC (14 years, 3 months ago) by manus
Original Path: trunk/Src/library/editor
Removed trailing blanks.
Removed `set_internal_focus' as it was not used.
Removed setting the focus after editor is loaded. It causes too much trouble
  when a panel receives new text often (like it does now when redirecting
  output of the C compilation in EiffelStudio).


Revision 55355 - Directory Listing
Modified Mon Oct 24 16:53:58 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Rewrote 'record_remove_trailing_blank' so that removing trailing blank is not visible to user.


Revision 55354 - Directory Listing
Modified Mon Oct 24 16:51:35 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Added a status that 'redo' and 'undo' can conversely function.


Revision 55353 - Directory Listing
Modified Mon Oct 24 16:49:21 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Supplymented comment of 'remove_trailing_blanks'.


Revision 55343 - Directory Listing
Modified Fri Oct 21 17:54:29 2005 UTC (14 years, 4 months ago) by king
Original Path: trunk/Src/library/editor
Added cursor_visible_x_position which should return the visible character position in the line


Revision 55338 - Directory Listing
Modified Fri Oct 21 17:18:55 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Changed the word 'trailed' to 'trailing'.


Revision 55336 - Directory Listing
Modified Fri Oct 21 17:11:34 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Renamed from 'undo_remove_trailed_blank_cmd.e'.


Revision 55335 - Directory Listing
Modified Fri Oct 21 17:10:26 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Renamed it to 'undo_remove_trailing_blank_cmd.e'


Revision 55304 - Directory Listing
Modified Fri Oct 21 16:02:42 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Added 'remove_trailed_blank' method to remove trailed blank.


Revision 55303 - Directory Listing
Modified Fri Oct 21 16:01:52 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Added 'record_remove_trailed_blank' method to record record actions of removing trailed blank.


Revision 55300 - Directory Listing
Modified Fri Oct 21 01:11:50 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Remove trailed blank command for editor.


Revision 55191 - Directory Listing
Modified Fri Oct 14 23:50:53 2005 UTC (14 years, 4 months ago) by neilc
Original Path: trunk/Src/library/editor
Added 'auto' support to color preferences


Revision 54870 - Directory Listing
Modified Tue Oct 4 22:09:19 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Make keyboard_selectable_text_panel support focus out seletion color.


Revision 54849 - Directory Listing
Modified Mon Oct 3 22:31:15 2005 UTC (14 years, 4 months ago) by tedf
Original Path: trunk/Src/library/editor
Add a method 'go_to_position' that moves the cursor directly to a position of the whole text.


Revision 53963 - Directory Listing
Modified Tue Aug 2 04:38:23 2005 UTC (14 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed memory leak where all created panels where added to `panel_manager' but
  never destroyed.


Revision 53938 - Directory Listing
Modified Mon Aug 1 15:36:35 2005 UTC (14 years, 6 months ago) by manus
Original Path: trunk/Src/library/editor
Added `remove_panel' to remove a panel from `panels' to avoid memory leak which
  would keep all created panels in `panels'.


Revision 53867 - Directory Listing
Modified Thu Jul 28 05:13:17 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Made compilable with recent changes in SHARED_EDITOR_DATA.


Revision 53853 - Directory Listing
Modified Thu Jul 28 00:45:57 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 53852 - Directory Listing
Modified Thu Jul 28 00:45:31 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed problem where not displaying formatting image for non-buffered line draws


Revision 53851 - Directory Listing
Modified Thu Jul 28 00:44:29 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed cursor and icon attributes to reduce memeroy footprint in EDITOR_TOKEN objects


Revision 53848 - Directory Listing
Modified Thu Jul 28 00:40:18 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
remove icons and cursor attributes to remove memory footprint of EDITOR_TOKEN


Revision 53847 - Directory Listing
Modified Thu Jul 28 00:39:40 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Make sure not to clear end of line formatting symbol


Revision 53808 - Directory Listing
Modified Wed Jul 27 00:24:42 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix search scrolling so that found text is now in middle of editor rather than near the bottom


Revision 53783 - Directory Listing
Modified Tue Jul 26 01:37:21 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Added precondition to show that `on_click_text' can only be called when there
  is some text.


Revision 53771 - Directory Listing
Modified Tue Jul 26 00:12:41 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Protect attempt to set horizontal scrollbar above upper value


Revision 53770 - Directory Listing
Modified Tue Jul 26 00:12:10 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Do not refresh when text has been loaded, not needed and causes flickering


Revision 53769 - Directory Listing
Modified Tue Jul 26 00:11:40 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
- Make sure cursor visible when mouse moved outside left of editor
- Remove double call to Ctrl+L event


Revision 53743 - Directory Listing
Modified Sat Jul 23 01:52:04 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Refactored `refresh_line_number_display' to avoid redefinition in descendants,
  we did that by adding a simple query `has_margin' which is redefined in
  descendants.


Revision 53738 - Directory Listing
Modified Sat Jul 23 00:09:19 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed unused locals


Revision 53737 - Directory Listing
Modified Sat Jul 23 00:08:39 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Make sure backup file editable when loaded


Revision 53668 - Directory Listing
Modified Thu Jul 21 23:31:46 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed separator drawing code (now in MARGIN_WIDGET)


Revision 53667 - Directory Listing
Modified Thu Jul 21 23:31:09 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Feature rename


Revision 53666 - Directory Listing
Modified Thu Jul 21 23:30:54 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Added extra required update code for whern fonts change


Revision 53665 - Directory Listing
Modified Thu Jul 21 23:30:18 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Add updating routines for when editor fonts change, and also separator drawing code moved from token to here


Revision 53664 - Directory Listing
Modified Thu Jul 21 23:29:21 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed selection show bug so now scrolls correctly horizontally


Revision 53646 - Directory Listing
Modified Thu Jul 21 18:13:16 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Updated unwanted_characters to include all control character.
unwanted_characters is also more efficent by returning a SPECIAL[BOOLEAN]


Revision 53638 - Directory Listing
Modified Thu Jul 21 17:46:14 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Add an enable/disable line number option to work on level of each individual panel


Revision 53637 - Directory Listing
Modified Thu Jul 21 17:45:32 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Make sure not to update line numbers on Ctrl event if line numbers are disabled from the panel


Revision 53616 - Directory Listing
Modified Thu Jul 21 05:47:53 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Properly fixed the issue with the `refresh_line_number_display' agent with
  the change-actions recording. The issue was simply that we needed to
  recycle the agent and remove it from the change_actions of `show_line_numbers_preference'.


Revision 53604 - Directory Listing
Modified Thu Jul 21 00:06:48 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix for when lexer start condition is set to verbatim string but then the text gets reloaded due to an external file modification


Revision 53603 - Directory Listing
Modified Thu Jul 21 00:06:05 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix for when updating font sizes


Revision 53602 - Directory Listing
Modified Thu Jul 21 00:05:36 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
- Fixed bug when refreshing line display due to external agent call
- Added line number direct show and hide routines


Revision 53569 - Directory Listing
Modified Wed Jul 20 16:21:32 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Removed all timer related onces to allow blinking cursor to be shown in multiple
editor instances.
Added missing cleanup code in recycle.


Revision 53531 - Directory Listing
Modified Tue Jul 19 00:59:05 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Removed `+1' in `select_lines' as now `line_pos_in_chars' have been fixed
  to ensure that position is computation starts at 1, and not 0 in some cases,
  and 1 in some other cases.


Revision 53530 - Directory Listing
Modified Tue Jul 19 00:58:11 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed `line_pos_in_chars' so that result is always positive.


Revision 53503 - Directory Listing
Modified Mon Jul 18 18:50:58 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
CTRL+L no longer scrolls to cursor.


Revision 53502 - Directory Listing
Modified Mon Jul 18 18:50:36 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Precursor calls for handle_extended_ctrl_key now set `scroll_to_cursor' to false to
prevent unecessary scrolling. The precursor handles scrolling to cursor itself.


Revision 53501 - Directory Listing
Modified Mon Jul 18 18:32:06 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Blinking cursor is reset when scrolling horizontally or vertically to prevent flashing.


Revision 53492 - Directory Listing
Modified Mon Jul 18 16:10:38 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed suspension of blinking cusor when picking and dropping.


Revision 53470 - Directory Listing
Modified Sat Jul 16 02:44:36 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Remove extra on_key_up agent which was cause routine to be called twice.
Added support for new blinking cursor


Revision 53469 - Directory Listing
Modified Sat Jul 16 02:43:29 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Completely reimplemented blinking cursor meachism.


Revision 53398 - Directory Listing
Modified Wed Jul 13 16:58:46 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Preventing call to `set_focus' if window containing editor does not have
  a focused widget. This prevent switching windows when a window decide to
  call `set_focus' when it is not focused.


Revision 53335 - Directory Listing
Modified Mon Jul 11 23:48:56 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Removed unused local


Revision 53306 - Directory Listing
Modified Mon Jul 11 20:57:11 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed broken export from previous commit


Revision 53292 - Directory Listing
Modified Mon Jul 11 18:18:23 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Protected calls in reload


Revision 53291 - Directory Listing
Modified Mon Jul 11 18:18:07 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed issue with contining editions when file is loaded in editor and has been modified from outside.
Added missing preconditions.
Refactored slightly


Revision 53276 - Directory Listing
Modified Mon Jul 11 16:17:18 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed cursor disappearing when holding a modifier keyboard shortcut when the
cursor is blinked off.


Revision 53238 - Directory Listing
Modified Sat Jul 9 02:14:10 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Added `common_line_count' used for page by page scrolling to let the user
  choose how many lines from the previous page will remain visible on the next
  page. Default is 1.


Revision 53223 - Directory Listing
Modified Fri Jul 8 22:47:02 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Drawing bug fix with tabs i verbatim stings


Revision 53222 - Directory Listing
Modified Fri Jul 8 22:46:34 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
MAke sure to return internal reference window


Revision 53215 - Directory Listing
Modified Fri Jul 8 18:46:29 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed horizontal scrolling bug and cursor selection bug


Revision 53181 - Directory Listing
Modified Fri Jul 8 01:08:14 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/editor
Now drawing margin after sub pixmap has been drawn to screen, this fixes the issue on linux where a gray margin was drawn as area offscreen of the pixmap was being drawn


Revision 53180 - Directory Listing
Modified Fri Jul 8 01:04:15 2005 UTC (14 years, 7 months ago) by king
Original Path: trunk/Src/library/editor
Now the buffered line draws to screen only what is visible


Revision 53129 - Directory Listing
Modified Thu Jul 7 12:50:53 2005 UTC (14 years, 7 months ago) by alexk
Original Path: trunk/Src/library/editor
Changed parent class type to use generic parameter as otherwise it violates
assigner command rules.


Revision 53121 - Directory Listing
Modified Thu Jul 7 05:54:20 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed precondition violation when querying `font_width' when the font is not fixed
  in `get_substring_width'. At the same time improved the performance by caching
  `tabulation_width' and improving the implementation of `tabulation_width'.


Revision 53103 - Directory Listing
Modified Wed Jul 6 22:24:18 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
New scanner


Revision 53097 - Directory Listing
Modified Wed Jul 6 22:08:06 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix where width was 1 when should be 0


Revision 53096 - Directory Listing
Modified Wed Jul 6 22:07:01 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Change separator width


Revision 53095 - Directory Listing
Modified Wed Jul 6 22:06:38 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Added `start_of_verbatim_string'


Revision 53094 - Directory Listing
Modified Wed Jul 6 22:05:09 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 53093 - Directory Listing
Modified Wed Jul 6 22:04:47 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Make sure separator drawn to bottom of screen


Revision 53085 - Directory Listing
Modified Wed Jul 6 20:58:53 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed blinking cursor resuming bug after typing


Revision 53025 - Directory Listing
Modified Tue Jul 5 22:59:35 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed unused attribute 'left_margin_width'


Revision 53024 - Directory Listing
Modified Tue Jul 5 22:59:08 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Updated comment


Revision 52988 - Directory Listing
Modified Tue Jul 5 17:44:33 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Fixed description which said EiffelStudio


Revision 52987 - Directory Listing
Modified Tue Jul 5 17:44:04 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
removed concrete implementation and support routines. Class is now deferred


Revision 52986 - Directory Listing
Modified Tue Jul 5 17:43:21 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Icons and Cursors are now attributes and must be set with their respective
set routines on editor initialization.


Revision 52985 - Directory Listing
Modified Tue Jul 5 17:42:25 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Added new precondition in process_left_click


Revision 52984 - Directory Listing
Modified Tue Jul 5 17:42:05 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Added protection in on_key_press and in on_key_up


Revision 52898 - Directory Listing
Modified Fri Jul 1 19:29:13 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Update update_horizontal_scrollbar to prevent scrollbars from being dislpayed when
there is no text loaded.


Revision 52866 - Directory Listing
Modified Fri Jul 1 00:08:43 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Added routines related to handling end of verbatim string text


Revision 52865 - Directory Listing
Modified Fri Jul 1 00:08:14 2005 UTC (14 years, 7 months ago) by neilc
Original Path: trunk/Src/library/editor
Added routines relating to end of verbatim string lines


Revision 52860 - Directory Listing
Modified Thu Jun 30 23:36:50 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Added preference for displaying line numbers


Revision 52859 - Directory Listing
Modified Thu Jun 30 23:35:57 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Removed CTRL+L keyboard shortcut


Revision 52858 - Directory Listing
Modified Thu Jun 30 23:35:45 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Added CTRL+L keyboard shortcut


Revision 52856 - Directory Listing
Modified Thu Jun 30 23:35:27 2005 UTC (14 years, 7 months ago) by paulb
Original Path: trunk/Src/library/editor
Renamed toggle_line_number_display to refresh_line_number_display.
line_numbers_visible now indicates state of show line numbers preference.


Revision 52780 - Directory Listing
Modified Thu Jun 30 01:01:13 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added back the setting of focus after text load


Revision 52774 - Directory Listing
Modified Thu Jun 30 00:19:14 2005 UTC (14 years, 8 months ago) by king
Original Path: trunk/Src/library/editor
Fixed call on Void target in get_substring_width for variable width fonts


Revision 52765 - Directory Listing
Modified Wed Jun 29 22:40:28 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Optimization in `get_substring_width' for not computing when font is fixed width.
Fix in `get_substring_width' so that if the image contains a tab then the width is correct.


Revision 52764 - Directory Listing
Modified Wed Jun 29 22:39:24 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 52763 - Directory Listing
Modified Wed Jun 29 22:38:38 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added preference for using a buffered line or not during editro drawing operations


Revision 52762 - Directory Listing
Modified Wed Jun 29 22:37:58 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added support for restoring the cursor line and character position after a ful text reload.
Added support for drawing line buffered or not based upon user preference.


Revision 52761 - Directory Listing
Modified Wed Jun 29 22:36:04 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed automatic setting of focus into editor when text is loaded.
Added 'set_internal_focus' to allow clients to tell the editor to set focus after processing


Revision 52726 - Directory Listing
Modified Tue Jun 28 22:51:48 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Optimizations in update_lines'


Revision 52663 - Directory Listing
Modified Tue Jun 28 00:21:11 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added comment


Revision 52662 - Directory Listing
Modified Tue Jun 28 00:20:37 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Put buffered drawablw height back to reasonable value to reduce flickering


Revision 52645 - Directory Listing
Modified Mon Jun 27 22:44:40 2005 UTC (14 years, 8 months ago) by rogers
Original Path: trunk/Src/library/editor
Further optimizations to `update_lines' by converting a few more attributes
to locals and querying them only once within the loop. This change makes the
drawing code between 3-5% faster.


Revision 52644 - Directory Listing
Modified Mon Jun 27 19:27:03 2005 UTC (14 years, 8 months ago) by rogers
Original Path: trunk/Src/library/editor
Optimized `update_lines' so that we use TEXT.current_line directly
instead of TEXT.line. This gives a 10% performance increase when redrawing
the contents of the editor.


Revision 52643 - Directory Listing
Modified Mon Jun 27 19:13:48 2005 UTC (14 years, 8 months ago) by rogers
Original Path: trunk/Src/library/editor
Optimized `update_lines' so that it uses `current_line' instead of
TEXT.line which is far faster as it does not involve iteration.


Revision 52642 - Directory Listing
Modified Mon Jun 27 18:15:52 2005 UTC (14 years, 8 months ago) by rogers
Original Path: trunk/Src/library/editor
Optimized `update_lines' so that queries to EiffelVision2 are not
performed unecessarily within the loop. This gives a 5-6% performance
improvement while redrawing the contents of the editor (tested by redrawing
200 times in a row without scrolling.)


Revision 52639 - Directory Listing
Modified Mon Jun 27 17:16:18 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Move keyboard copying and selecting up from EDITABLE_TEXT_PANEL


Revision 52607 - Directory Listing
Modified Fri Jun 24 19:08:24 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added precondition


Revision 52606 - Directory Listing
Modified Fri Jun 24 19:07:38 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Re-impemented viewport flipping to make sure that crash does occur and behanves correctly when resizing the viewport such that some lower part of it extends beyond the end of the drawing area.


Revision 52605 - Directory Listing
Modified Fri Jun 24 19:06:13 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed `last_vertical_scrollbar_value'


Revision 52604 - Directory Listing
Modified Fri Jun 24 19:05:27 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Protected call to 'update_area' in case every it tries to expose outside the drawing area


Revision 52555 - Directory Listing
Modified Thu Jun 23 17:47:03 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Added protection of `test_displayed' in `add_selection_observer'.


Revision 52554 - Directory Listing
Modified Thu Jun 23 17:46:27 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Use `number_of_lines_in_block' to perform block loading. It is defined to
  be 4 times the number of displayed lines. It enables a nice loading of
  small document (especially for the feature tool in EiffelStudio).


Revision 52517 - Directory Listing
Modified Thu Jun 23 05:45:08 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Temporarly crash on exit in `add_edition_observer' where time to time `text_displayed'
  as already been reset to Void.


Revision 52514 - Directory Listing
Modified Thu Jun 23 01:21:30 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed a typo in `set_focus', `is_sensitive' was repeated twice instead of checking
  for `is_displayed'.


Revision 52482 - Directory Listing
Modified Wed Jun 22 00:49:04 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added internal flag to determine to focus editor after text has been fully loaded


Revision 52474 - Directory Listing
Modified Wed Jun 22 00:07:02 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Implemented 'display_with_offset' because it is needed for margins like the EB_CLICKABLE_MARGIN in the compiler when breakpoints are visible


Revision 52473 - Directory Listing
Modified Wed Jun 22 00:05:52 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Made panels not deferred, since it is reasobale to assume required creation of panels (and is also now needed by EiffelStudio)


Revision 52359 - Directory Listing
Modified Mon Jun 20 17:26:10 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed bug of invalidating selection where sometimes the selection is not correctly invalidated.


Revision 52358 - Directory Listing
Modified Mon Jun 20 17:24:13 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Put print statement into debug clause


Revision 52277 - Directory Listing
Modified Thu Jun 16 22:56:00 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added `post_notify_actions' to make delayed calls necessary after all observer notifications have been completed


Revision 52269 - Directory Listing
Modified Thu Jun 16 22:21:02 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Do not always reset the lexer state for verbatim strings after execution anymore, because new verbatim string handling is better and this is not necessary and also has effect on subsequent line in certain cases where they are part of a verbatim string.


Revision 52268 - Directory Listing
Modified Thu Jun 16 22:18:34 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
New scanner built from recent lexer changes


Revision 52267 - Directory Listing
Modified Thu Jun 16 22:18:06 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
When rebuilding a line from the lexer don't anymore use the old value to determine if the line is part of a verbatim string.  Always let the lexer decide this.


Revision 52266 - Directory Listing
Modified Thu Jun 16 22:16:18 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix to token creation call - `tab_size_cell' not used anymore


Revision 52264 - Directory Listing
Modified Thu Jun 16 22:15:13 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
After text is loaded set the focus to the drawing area by default.


Revision 51994 - Directory Listing
Modified Fri Jun 10 01:47:30 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Removed non-used local.


Revision 51991 - Directory Listing
Modified Fri Jun 10 01:43:00 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Make sure not to diable selection onfocus as this has adverse effects for picka nd drop in EiffeStudio


Revision 51931 - Directory Listing
Modified Wed Jun 8 23:13:38 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51928 - Directory Listing
Modified Wed Jun 8 23:13:01 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed problem with diaply of vertical scrollbar


Revision 51924 - Directory Listing
Modified Wed Jun 8 23:06:31 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Made sure not to circumvent calls to `disable_select'


Revision 51923 - Directory Listing
Modified Wed Jun 8 23:02:29 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
MAde sure not to circumvent calls to 'disable_selection'


Revision 51922 - Directory Listing
Modified Wed Jun 8 23:01:01 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51831 - Directory Listing
Modified Tue Jun 7 16:22:44 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Exported `on_focus' for EiffelStudio EB_DEVELOPMENT_WINDOW


Revision 51708 - Directory Listing
Modified Fri Jun 3 23:37:32 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51707 - Directory Listing
Modified Fri Jun 3 23:37:16 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added 'is_blank'


Revision 51706 - Directory Listing
Modified Fri Jun 3 23:32:48 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Minor optimization


Revision 51705 - Directory Listing
Modified Fri Jun 3 23:32:15 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51704 - Directory Listing
Modified Fri Jun 3 23:31:53 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed troublesome white space removal from line


Revision 51703 - Directory Listing
Modified Fri Jun 3 23:30:07 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed troublesome removale of white space from lines


Revision 51702 - Directory Listing
Modified Fri Jun 3 23:28:04 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Newline at end of file


Revision 51701 - Directory Listing
Modified Fri Jun 3 23:27:36 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed hack around for GTK to stop calling expose actions directly


Revision 51700 - Directory Listing
Modified Fri Jun 3 23:23:20 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed some cursor positioning problems, and also the end of a line being chopped off when scrolling horizontally left very slowly.


Revision 51699 - Directory Listing
Modified Fri Jun 3 23:12:55 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed mouse cup cursor issues:
- cursor now black not gray
- cursor shows correctly at token on end and start of line


Revision 51698 - Directory Listing
Modified Fri Jun 3 23:12:12 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Use exported getter rather than direct hash access


Revision 51697 - Directory Listing
Modified Fri Jun 3 23:11:42 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Added getter routine for registered types


Revision 51696 - Directory Listing
Modified Fri Jun 3 23:11:11 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51630 - Directory Listing
Modified Thu Jun 2 07:04:16 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/library/editor
Made compiler code compilable by adding definition of `is_blank'.


Revision 51267 - Directory Listing
Modified Fri May 20 23:01:51 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Commented out unused locals.


Revision 51074 - Directory Listing
Modified Sat May 14 00:16:35 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix of wrong redrawing of selected lines when editor has no focus.


Revision 51061 - Directory Listing
Modified Fri May 13 18:38:01 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Cosmetics


Revision 51060 - Directory Listing
Modified Fri May 13 18:37:30 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed incorrect redrawing of copy cut cursor when scrolled down


Revision 50996 - Directory Listing
Modified Thu May 12 02:01:30 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Fixed bug where quitting EiffelStudio after a debugging session where a vertical
  scrollbar is displayed would crash in `update_scroll_cell' called from
  `on_viewport_size' because we called `recycle' before and set `vertical_scrollbar'
  to Void. To prevent that added `is_initialized' which is set to True at creation
  time and set to False after calling `recycle'. And now `on_viewport_size'
  is executed only when `is_initialized' is True.


Revision 50971 - Directory Listing
Modified Wed May 11 23:08:33 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Updated block invalidation


Revision 50970 - Directory Listing
Modified Wed May 11 23:07:16 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed selection drawing when scrolling down and selecting from a line below another line.


Revision 50961 - Directory Listing
Modified Wed May 11 15:49:33 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed when crashing when deleting empty lines ina selection


Revision 50960 - Directory Listing
Modified Wed May 11 15:49:00 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Made sure all buffered line full widths are redrawn on expose


Revision 50959 - Directory Listing
Modified Wed May 11 15:47:22 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Made sure buffered lines are always redrawn


Revision 50950 - Directory Listing
Modified Wed May 11 06:21:18 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Removed `print' statement.


Revision 50907 - Directory Listing
Modified Tue May 10 18:10:57 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Reorganize preferences into nicer hierarchical structure


Revision 50906 - Directory Listing
Modified Tue May 10 18:10:26 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed bug in resizing of buffered line


Revision 50905 - Directory Listing
Modified Tue May 10 18:09:21 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed bug in drawing of buffered lines


Revision 50826 - Directory Listing
Modified Fri May 6 22:49:04 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed small optimization because it breaks tab display inside EDITOR_TOKEN_STRING types


Revision 50825 - Directory Listing
Modified Fri May 6 22:47:50 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fix a number refesh bugs related to correctly redrawing the area after a lines actual content (the void area)


Revision 50824 - Directory Listing
Modified Fri May 6 22:46:59 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Make 'buffered_line' a once and fix refresh problem on area below text panel lines


Revision 50792 - Directory Listing
Modified Fri May 6 00:23:09 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Made all explicit declarations of EDITOR_LINE now use 'like line' to solve problems in descendents which need to use descendants of EDITOR_LINE (i.e. EIFFEL_EDITOR_LINE)


Revision 50791 - Directory Listing
Modified Fri May 6 00:21:07 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed bug in drawing of white space under text - sometimes it was cutting off the bottom line


Revision 50734 - Directory Listing
Modified Thu May 5 00:52:54 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Reactivate `on_mouse_wheel' which must have been commented by mistake.


Revision 50732 - Directory Listing
Modified Thu May 5 00:42:57 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Removed usage of local variable.


Revision 50731 - Directory Listing
Modified Thu May 5 00:42:32 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Removed non-used locals.


Revision 50728 - Directory Listing
Modified Thu May 5 00:16:03 2005 UTC (14 years, 9 months ago) by manus
Original Path: trunk/Src/library/editor
Improved `display_blanks' by using `space_images' a SPECIAL rather than a HASH_TABLE.


Revision 50726 - Directory Listing
Modified Thu May 5 00:03:16 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Updated to do partial line drawing for optimizations in drawing


Revision 50725 - Directory Listing
Modified Wed May 4 23:55:36 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Changed so that now offsets are not added to position


Revision 50695 - Directory Listing
Modified Wed May 4 14:56:44 2005 UTC (14 years, 9 months ago) by alexk
Original Path: trunk/Src/library/editor
Fixed a bug that caused editor to crash on a particular kind of selected text
when start and end selection positions are the same (this happens when
multiple lines are selected and cursor is at the beginning on a line).


Revision 50694 - Directory Listing
Modified Wed May 4 14:53:11 2005 UTC (14 years, 9 months ago) by alexk
Original Path: trunk/Src/library/editor
Removed unused local variable.


Revision 50658 - Directory Listing
Modified Tue May 3 17:53:39 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed cursor display bug


Revision 50657 - Directory Listing
Modified Tue May 3 17:14:30 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Optimizations


Revision 50656 - Directory Listing
Modified Tue May 3 17:06:47 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Optimizations


Revision 50655 - Directory Listing
Modified Tue May 3 17:06:15 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Typo


Revision 50653 - Directory Listing
Modified Tue May 3 16:48:03 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Changes to make sure to update font fixed width values


Revision 50652 - Directory Listing
Modified Tue May 3 16:47:32 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Added 'fixed_width' cell for caching font width if it is a fixed width font


Revision 50651 - Directory Listing
Modified Tue May 3 16:45:35 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Some small optimizations


Revision 50650 - Directory Listing
Modified Tue May 3 16:43:01 2005 UTC (14 years, 9 months ago) by neilc
Original Path: trunk/Src/library/editor
Minor optimizations, caching regularly used attributes into locals


Revision 50601 - Directory Listing
Modified Sat Apr 30 01:00:00 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed set_item_width as not work on gtk


Revision 50596 - Directory Listing
Modified Sat Apr 30 00:00:30 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Observer for DOCUMENT_ITEM for TEXT_PANEL_HEADER


Revision 50565 - Directory Listing
Modified Fri Apr 29 01:11:35 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Reworded indexing tag


Revision 50564 - Directory Listing
Modified Fri Apr 29 01:11:07 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed file overwriting bug


Revision 50563 - Directory Listing
Modified Fri Apr 29 01:10:42 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed empty feature clauses


Revision 50535 - Directory Listing
Modified Fri Apr 29 00:51:16 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
- Added a `disaply_with_offset' for all displayable tokens
- Refactored positioning and width updating code to avoid multiple calls to same features
- Fixed displayed signatures so works with .NET compiler


Revision 50534 - Directory Listing
Modified Fri Apr 29 00:47:57 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
updates for token optimization


Revision 50533 - Directory Listing
Modified Fri Apr 29 00:46:24 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Token and cursor information fixing and optimizations for buffered line editor


Revision 50532 - Directory Listing
Modified Fri Apr 29 00:44:16 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed tab_size_cell, not used anymore


Revision 50531 - Directory Listing
Modified Fri Apr 29 00:43:27 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
buffered line implementation


Revision 50530 - Directory Listing
Modified Fri Apr 29 00:41:38 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Buffered line implementation


Revision 50529 - Directory Listing
Modified Fri Apr 29 00:40:41 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Panel using buffered line and direct drawing instead of buffered screen


Revision 50528 - Directory Listing
Modified Fri Apr 29 00:39:57 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Text panel using buffered line rather than buffered screen


Revision 50527 - Directory Listing
Modified Fri Apr 29 00:39:13 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Interface updaes for margin


Revision 49926 - Directory Listing
Modified Thu Apr 7 21:42:59 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Updated interface


Revision 49743 - Directory Listing
Modified Mon Apr 4 00:29:25 2005 UTC (14 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Removed gobo obsolete call.


Revision 49742 - Directory Listing
Modified Mon Apr 4 00:29:12 2005 UTC (14 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Removed non-used local.


Revision 49741 - Directory Listing
Modified Mon Apr 4 00:27:54 2005 UTC (14 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Removed non-used locals


Revision 49740 - Directory Listing
Modified Mon Apr 4 00:27:22 2005 UTC (14 years, 10 months ago) by manus
Original Path: trunk/Src/library/editor
Allow non-negative values for position_cursor as it happens to get 0 from vision2
  as coordinates start at 0.


Revision 49739 - Directory Listing
Modified Sat Apr 2 00:14:54 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Added quadruple click preference information


Revision 49738 - Directory Listing
Modified Sat Apr 2 00:14:33 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Added quadruple click functionality, abstracted to here from EiffelStudio EB_EDITOR


Revision 49737 - Directory Listing
Modified Sat Apr 2 00:13:53 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed Ctrl+c causing cursor to go to bottom of editor


Revision 49719 - Directory Listing
Modified Thu Mar 31 22:35:01 2005 UTC (14 years, 10 months ago) by neilc
Original Path: trunk/Src/library/editor
Added a feature to stop cursor bliking to prevent messing up pick and drop rubber band during a pick in EiffelStudio


Revision 49573 - Directory Listing
Modified Tue Mar 29 01:35:50 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed debugging print statement


Revision 49572 - Directory Listing
Modified Tue Mar 29 01:35:28 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Fixed bug where has_selection was still true for empty selections, so when the editor lost focus and then regained it the text would slect when the cursor was next moved.


Revision 49571 - Directory Listing
Modified Tue Mar 29 01:33:35 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed unused locals


Revision 49558 - Directory Listing
Modified Mon Mar 28 20:27:27 2005 UTC (14 years, 11 months ago) by king
Original Path: trunk/Src/library/editor
Corrected calculation of font offset


Revision 49557 - Directory Listing
Modified Mon Mar 28 20:11:27 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Bug fix in select lines when selecting only first line


Revision 49556 - Directory Listing
Modified Mon Mar 28 20:05:01 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Added `select_lines' to select certain lines in panel


Revision 49546 - Directory Listing
Modified Sat Mar 26 01:13:15 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Multiple document opening bugs fixed


Revision 49545 - Directory Listing
Modified Sat Mar 26 01:12:53 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Lexer for basic text


Revision 49544 - Directory Listing
Modified Sat Mar 26 01:12:11 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Numerous bug fixes involving cursor,s election, etc.


Revision 49543 - Directory Listing
Modified Sat Mar 26 01:05:54 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Lexer and batch to make basic scanner class


Revision 48889 - Directory Listing
Modified Thu Mar 3 01:27:29 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Removed trace statements


Revision 48888 - Directory Listing
Modified Thu Mar 3 01:26:57 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Better implementation of clipboard reading


Revision 48887 - Directory Listing
Modified Thu Mar 3 01:26:12 2005 UTC (14 years, 11 months ago) by neilc
Original Path: trunk/Src/library/editor
Only give editor focus if it is also senstive


Revision 48754 - Directory Listing
Modified Thu Feb 24 19:48:34 2005 UTC (15 years ago) by neilc
Original Path: trunk/Src/library/editor
Changed agent callback name to a better name so that CLICKABLE_TEXT, in the compiler, doesn't get confused.


Revision 48604 - Directory Listing
Modified Tue Feb 22 01:08:05 2005 UTC (15 years ago) by neilc
Original Path: trunk/Src/library/editor
Images added in binary mode


Revision 48603 - Directory Listing
Modified Tue Feb 22 01:06:57 2005 UTC (15 years ago) by neilc
Original Path: trunk/Src/library/editor
Updated header bug in file closing


Revision 48602 - Directory Listing
Modified Tue Feb 22 01:05:40 2005 UTC (15 years ago) by neilc
Original Path: trunk/Src/library/editor
New manager


Revision 48589 - Directory Listing
Added Mon Feb 21 17:35:09 2005 UTC (15 years ago) by neilc
Original Path: trunk/Src/library/editor
Initial version


  ViewVC Help
Powered by ViewVC 1.1.23