|
From: Christopher W. <caw...@us...> - 2006-04-12 21:26:29
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/text In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25379/src/org/rubypeople/rdt/ui/text Modified Files: RubyTextTools.java RubySourceViewerConfiguration.java Log Message: a number of changes: - Re-arrange the preferences - add ability to edit ruby editor font - whole new syntax coloring page - new underline/strikethrough options for syntax coloring - fix bug delaying preference changes from applying on syntax coloring to open editors. - Add hyperlink between syntax coloring and general text editor prefs (which apply to coloring/fonts/appearance) - Remove some deprecated code Index: RubyTextTools.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/text/RubyTextTools.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** RubyTextTools.java 18 Feb 2006 17:29:33 -0000 1.1 --- RubyTextTools.java 12 Apr 2006 21:26:25 -0000 1.2 *************** *** 127,133 **** if (fCorePreferenceStore != null) fCorePreferenceStore.addPropertyChangeListener(fPreferenceListener); - - // fJavaDocScanner= new JavaDocScanner(fColorManager, store, coreStore); - // fPartitionScanner= new FastJavaPartitionScanner(); } --- 127,130 ---- *************** *** 150,155 **** if (fRegexpScanner.affectsBehavior(event)) fRegexpScanner.adaptToPreferenceChange(event); if (fCommandScanner.affectsBehavior(event)) fCommandScanner.adaptToPreferenceChange(event); - // if (fJavaDocScanner.affectsBehavior(event)) - // fJavaDocScanner.adaptToPreferenceChange(event); } --- 147,150 ---- Index: RubySourceViewerConfiguration.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/ui/text/RubySourceViewerConfiguration.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RubySourceViewerConfiguration.java 18 Feb 2006 17:29:33 -0000 1.3 --- RubySourceViewerConfiguration.java 12 Apr 2006 21:26:25 -0000 1.4 *************** *** 111,140 **** initializeScanners(); } - - /** - * Creates a new Ruby source viewer configuration for viewers in the given - * editor using the given Ruby tools. - * - * @param tools - * the Ruby text tools to be used - * @param editor - * the editor in which the configured viewer(s) will reside, or - * <code>null</code> if none - * @see RubyTextTools - * @deprecated As of 0.8.0, replaced by - * {@link RubySourceViewerConfiguration#JavaSourceViewerConfiguration(IColorManager, IPreferenceStore, ITextEditor, String)} - */ - public RubySourceViewerConfiguration(RubyTextTools tools, RubyAbstractEditor editor) { - super(createPreferenceStore(tools)); - textTools = tools; - fColorManager = tools.getColorManager(); - fCodeScanner = (AbstractRubyScanner) textTools.getCodeScanner(); - fMultilineCommentScanner = (AbstractRubyScanner) textTools.getMultilineCommentScanner(); - fSinglelineCommentScanner = (AbstractRubyScanner) textTools.getSinglelineCommentScanner(); - fStringScanner = (AbstractRubyScanner) textTools.getStringScanner(); - fRegexpScanner = (SingleTokenRubyCodeScanner) textTools.getRegexpScanner(); - fCommandScanner = (SingleTokenRubyCodeScanner) textTools.getCommandScanner(); - fTextEditor = editor; - } /* --- 111,114 ---- |