/[eiffelstudio]/branches/Eiffel_57_docking/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
ViewVC logotype

Log of /branches/Eiffel_57_docking/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 62171 - (view) (annotate) - [select for diffs]
Modified Tue Aug 1 01:27:17 2006 UTC (13 years, 4 months ago) by larryl
File length: 38685 byte(s)
Diff to previous 62069
First commit docking tabbed Eiffel Studio.

Revision 62069 - (view) (annotate) - [select for diffs]
Modified Sun Jul 30 06:24:52 2006 UTC (13 years, 4 months ago) by manus
File length: 38710 byte(s)
Copied from: trunk/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e revision 62068
Diff to previous 59391
EiffelStudio docking branch. It only contains modified classes needed to get the docking version of EiffelStudio.

Revision 59391 - (view) (annotate) - [select for diffs]
Modified Sat Jun 3 16:10:25 2006 UTC (13 years, 6 months ago) by manus
Original Path: trunk/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38710 byte(s)
Diff to previous 58929
Made EIFFEL_COMMENT_LINE not inherit from STRING, but instead being a client. It solves
  a precondition violation in gobo when trying to parse an EIFFEL_COMMENT_LINE since gobo
  only accepts STRING instance, not descendant ones.


Revision 58929 - (view) (annotate) - [select for diffs]
Modified Fri May 12 18:49:27 2006 UTC (13 years, 6 months ago) by tedf
Original Path: trunk/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38694 byte(s)
Diff to previous 58325
Fixed the bug#10087, made "New feature" work.
Before modifying a class, we parse and take new AST and match list to calculate insertion_position.

Revision 58325 - (view) (annotate) - [select for diffs]
Modified Thu Apr 20 16:05:16 2006 UTC (13 years, 7 months ago) by manus
Original Path: trunk/Src/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38444 byte(s)
Diff to previous 58027
Moved trunk/Src/bench/Eiffel to trunk/Src/Eiffel.

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


Revision 57792 - (view) (annotate) - [select for diffs]
Modified Mon Mar 27 22:23:59 2006 UTC (13 years, 8 months ago) by patrickr
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38434 byte(s)
Diff to previous 57426
Commented out code that is broken from the new configuration system, added conf_todo and conf_todo_msg statements


Revision 57426 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 20:30:45 2006 UTC (13 years, 9 months ago) by tedf
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38438 byte(s)
Diff to previous 56781
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 56781 - (view) (annotate) - [select for diffs]
Modified Fri Jan 27 16:27:42 2006 UTC (13 years, 10 months ago) by patrickr
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38521 byte(s)
Diff to previous 56535
-add type information to the ast during degree 3
-make a type check of all features, instead of only the changed ones, if a class has been parsed again (need because we have a new ast and we need to readd the type informations)
-changed parser used during degree 5 to light roundtrip parser (roundtrip parser without matchlist generation)
-refactoring tool
-refactored comment code to use the available information from the roundtrip ast
-added a server for matchlists, that generates matchlists on demand, using the fast scanner



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


Revision 56505 - (view) (annotate) - [select for diffs]
Modified Thu Jan 12 18:13:48 2006 UTC (13 years, 10 months ago) by jasonw
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36601 byte(s)
Diff to previous 54585
Changed feature_location to feature_keyword because changes done in compiler.

Revision 54585 - (view) (annotate) - [select for diffs]
Modified Wed Aug 31 19:59:17 2005 UTC (14 years, 3 months ago) by rogers
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36680 byte(s)
Diff to previous 53716
Replaced usage of EB_WARNING_DIALOG with EV_WARNING_DIALOG.


Revision 53716 - (view) (annotate) - [select for diffs]
Modified Fri Jul 22 19:00:26 2005 UTC (14 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36680 byte(s)
Diff to previous 53594
Ensured that `commit_modification' is called when `valid_syntax' is True, otherwise
  nothing should be done.
`commit_modification' of CLASS_TEXT_MODIFIER also takes care of resetting the date,
  so no need to call `reset_date'.
Fixed a bug in the setting of `is_unix_file' when the text was empty or if it contained
  just one character in it, in those two cases we use as a best guess the
  platform specific value.


Revision 53594 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 22:18:50 2005 UTC (14 years, 4 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36757 byte(s)
Diff to previous 52877
Fixed PR #5174 where features were added one character too far.


Revision 52877 - (view) (annotate) - [select for diffs]
Modified Fri Jul 1 01:53:19 2005 UTC (14 years, 5 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36761 byte(s)
Diff to previous 52024
Fixed bugs in insertion/removal of inheritance clauses.
Ensured that INST_CONTEXT is properly set when parsing a class (otherwise it
  would fail parsing classes containing types integers/reals)


Revision 52024 - (view) (annotate) - [select for diffs]
Modified Fri Jun 10 18:24:43 2005 UTC (14 years, 6 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36983 byte(s)
Diff to previous 50173
Fixed issues with class name replacing
- fixed precondition violations when replacing a class whose name is only 1 character long.
- fixed issue where we were doing `end_position - 1'. This is not correct, `end_position' by
  itself is sufficient.


Revision 50173 - (view) (annotate) - [select for diffs]
Modified Tue Apr 19 04:32:42 2005 UTC (14 years, 7 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 36988 byte(s)
Diff to previous 49765
Updated to match new parsing position information.
Simplified invariant insertion.


Revision 49765 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 05:47:54 2005 UTC (14 years, 8 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37305 byte(s)
Diff to previous 49489
Because CLICK_AST numbering starts at 1 instead of 0, we needed to update
  some computation offset.


Revision 49489 - (view) (annotate) - [select for diffs]
Modified Fri Mar 25 21:54:42 2005 UTC (14 years, 8 months ago) by neilc
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37309 byte(s)
Diff to previous 48480
Updated to use EB_SHARED_PREFERENCES as point of access to preference data.


Revision 48480 - (view) (annotate) - [select for diffs]
Modified Tue Feb 15 13:55:20 2005 UTC (14 years, 9 months ago) by alexk
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37217 byte(s)
Diff to previous 48041
Supplied a new argument that indicates amount of indentation to
a modified `add_multiline_string'.


Revision 48041 - (view) (annotate) - [select for diffs]
Modified Fri Jan 28 02:06:48 2005 UTC (14 years, 10 months ago) by bennob
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37214 byte(s)
Diff to previous 47998
Allways commit modification and reset date if class text was changed.


Revision 47998 - (view) (annotate) - [select for diffs]
Modified Thu Jan 27 04:26:37 2005 UTC (14 years, 10 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37902 byte(s)
Diff to previous 47967
Fixed a bug where pressing cancel on the feature dialog wizard would not
  set `extend_from_diagram_successful' to False and thus was causing it to
  crash.
Use `add_multiline_string' to fix precondition of `add_string'.


Revision 47967 - (view) (annotate) - [select for diffs]
Modified Wed Jan 26 22:41:38 2005 UTC (14 years, 10 months ago) by bennob
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 37839 byte(s)
Diff to previous 47281
Print class modified outside diagram to Output tool instead of poping up a warning.


Revision 47281 - (view) (annotate) - [select for diffs]
Modified Tue Dec 28 19:31:21 2004 UTC (14 years, 11 months ago) by bennob
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/helper/class_text_modifier.e
File length: 38778 byte(s)
Copied from: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e revision 47280
Diff to previous 45733
Initial commit of the new diagram tool.


Revision 45733 - (view) (annotate) - [select for diffs]
Modified Fri Sep 17 17:39:07 2004 UTC (15 years, 2 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34369 byte(s)
Diff to previous 45562
Take into account new creation procedure of EB_FEATURE_COMPOSITION_WIZARD and
  EB_QUERY_COMPOSITION_WIZARD.


Revision 45562 - (view) (annotate) - [select for diffs]
Modified Sat Sep 11 23:16:11 2004 UTC (15 years, 2 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34354 byte(s)
Diff to previous 43097
Fixed errors reported by gelint since our compiler does not do yet system
validity checking (i.e. flat degree 3 checking).


Revision 43097 - (view) (annotate) - [select for diffs]
Modified Tue May 18 23:18:59 2004 UTC (15 years, 6 months ago) by rogers
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34348 byte(s)
Diff to previous 40746
Updated generation so that any set procedure for an attribute that
starts with a vowel starts with "an_" instead of the standard "a_". We also
now use "like" instead of explicitly specifying the type of the argument.


Revision 40746 - (view) (annotate) - [select for diffs]
Modified Thu Dec 11 20:21:40 2003 UTC (15 years, 11 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34107 byte(s)
Diff to previous 38355
Use `as_lower' and `as_upper' whenever appropriate instead of cloning and
  then calling `to_lower' or `to_upper'.


Revision 38355 - (view) (annotate) - [select for diffs]
Modified Wed Aug 6 23:17:33 2003 UTC (16 years, 4 months ago) by rogers
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34199 byte(s)
Diff to previous 37684
All calls to `process_events' has now been replaced with calls to
`process_events_and_idle'.


Revision 37684 - (view) (annotate) - [select for diffs]
Modified Wed Jun 11 23:31:40 2003 UTC (16 years, 6 months ago) by julieng
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34211 byte(s)
Diff to previous 30799
Replace ~ with agent keyword.


Revision 30799 - (view) (annotate) - [select for diffs]
Modified Thu Feb 21 02:30:01 2002 UTC (17 years, 9 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34201 byte(s)
Diff to previous 29793
Updated code due to new name of `position' in FEATURE_CLAUSE_AS, i.e. `end_position'.


Revision 29793 - (view) (annotate) - [select for diffs]
Modified Wed Dec 19 03:08:56 2001 UTC (17 years, 11 months ago) by manus
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34185 byte(s)
Diff to previous 27858
Replaced `insert' by `insert_string' (ELKS 2001)


Revision 27858 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 17:35:04 2001 UTC (18 years, 2 months ago) by xavier
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34178 byte(s)
Diff to previous 27829
Fixed the error message.


Revision 27829 - (view) (annotate) - [select for diffs]
Modified Thu Sep 20 21:45:32 2001 UTC (18 years, 2 months ago) by xavier
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 34184 byte(s)
Diff to previous 27147
Display a warning when the class has a syntax error and the feature can't be
generated.


Revision 27147 - (view) (annotate) - [select for diffs]
Modified Wed Aug 22 22:52:18 2001 UTC (18 years, 3 months ago) by etienne
Original Path: trunk/Src/bench/Eiffel/interface/new_graphical/case_tool/class_text_modifier.e
File length: 33993 byte(s)
Diff to previous 26913
Prevented crash in diagram when creating several reflexive client-supplier links on the
same class.


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


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

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.23