|
From: Christopher W. <caw...@us...> - 2006-02-10 23:05:58
|
Update of /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23147/src/org/rubypeople/rdt/internal/ui/rubyeditor/templates Modified Files: RubyContext.java RubyTemplatePreferencePage.java Log Message: Index: RubyTemplatePreferencePage.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/templates/RubyTemplatePreferencePage.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RubyTemplatePreferencePage.java 2 Mar 2005 00:56:52 -0000 1.2 --- RubyTemplatePreferencePage.java 10 Feb 2006 23:05:47 -0000 1.3 *************** *** 25,30 **** import org.eclipse.ui.texteditor.templates.TemplatePreferencePage; import org.rubypeople.rdt.internal.ui.RubyPlugin; - import org.rubypeople.rdt.internal.ui.text.RubySourceViewerConfiguration; import org.rubypeople.rdt.ui.PreferenceConstants; /** --- 25,30 ---- import org.eclipse.ui.texteditor.templates.TemplatePreferencePage; import org.rubypeople.rdt.internal.ui.RubyPlugin; import org.rubypeople.rdt.ui.PreferenceConstants; + import org.rubypeople.rdt.ui.text.RubySourceViewerConfiguration; /** *************** *** 59,63 **** // FIXME Pass in the current editor! ! SourceViewerConfiguration configuration = new RubySourceViewerConfiguration(RubyPlugin.getDefault().getTextTools(), null); IDocument document = new Document(); // FIXME Do we need this? --- 59,63 ---- // FIXME Pass in the current editor! ! SourceViewerConfiguration configuration = new RubySourceViewerConfiguration(RubyPlugin.getDefault().getRubyTextTools(), null); IDocument document = new Document(); // FIXME Do we need this? Index: RubyContext.java =================================================================== RCS file: /cvsroot/rubyeclipse/org.rubypeople.rdt.ui/src/org/rubypeople/rdt/internal/ui/rubyeditor/templates/RubyContext.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RubyContext.java 1 Oct 2005 23:10:44 -0000 1.2 --- RubyContext.java 10 Feb 2006 23:05:47 -0000 1.3 *************** *** 19,23 **** import org.eclipse.jface.text.templates.TemplateContextType; import org.eclipse.jface.text.templates.TemplateException; ! import org.rubypeople.rdt.internal.ui.rubyeditor.outline.RubyModel; public class RubyContext extends DocumentTemplateContext { --- 19,23 ---- import org.eclipse.jface.text.templates.TemplateContextType; import org.eclipse.jface.text.templates.TemplateException; ! import org.rubypeople.rdt.internal.core.RubyModel; public class RubyContext extends DocumentTemplateContext { |