From: <kp...@us...> - 2008-03-01 21:10:42
|
Revision: 12056 http://jedit.svn.sourceforge.net/jedit/?rev=12056&view=rev Author: kpouer Date: 2008-03-01 13:10:37 -0800 (Sat, 01 Mar 2008) Log Message: ----------- removed deprecated method calls Modified Paths: -------------- jEdit/trunk/org/gjt/sp/jedit/EditPane.java Modified: jEdit/trunk/org/gjt/sp/jedit/EditPane.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/EditPane.java 2008-03-01 21:10:21 UTC (rev 12055) +++ jEdit/trunk/org/gjt/sp/jedit/EditPane.java 2008-03-01 21:10:37 UTC (rev 12056) @@ -36,6 +36,7 @@ import org.gjt.sp.jedit.syntax.SyntaxStyle; import org.gjt.sp.jedit.textarea.*; import org.gjt.sp.jedit.buffer.JEditBuffer; +import org.gjt.sp.util.SyntaxUtilities; //}}} /** @@ -842,7 +843,7 @@ String defaultFont = jEdit.getProperty("view.font"); int defaultFontSize = jEdit.getIntegerProperty("view.fontsize",12); - painter.setStyles(GUIUtilities.loadStyles(defaultFont,defaultFontSize)); + painter.setStyles(SyntaxUtilities.loadStyles(defaultFont,defaultFontSize)); SyntaxStyle[] foldLineStyle = new SyntaxStyle[4]; for(int i = 0; i <= 3; i++) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |