From: <ez...@us...> - 2008-08-27 02:32:12
|
Revision: 13436 http://jedit.svn.sourceforge.net/jedit/?rev=13436&view=rev Author: ezust Date: 2008-08-27 02:32:08 +0000 (Wed, 27 Aug 2008) Log Message: ----------- Fixed some doc comments. Standardized some shortcuts - F3 for find-next, Ctrl-G for goto line, and Ctrl-L for focus on editpane and center caret on screen (emacs like) Modified Paths: -------------- jEdit/trunk/doc/CHANGES.txt jEdit/trunk/doc/FAQ/faq-problems.xml jEdit/trunk/org/gjt/sp/jedit/ActionContext.java jEdit/trunk/org/gjt/sp/jedit/IPropertyManager.java jEdit/trunk/org/gjt/sp/jedit/JEditActionContext.java jEdit/trunk/org/gjt/sp/jedit/ServiceManager.java jEdit/trunk/org/gjt/sp/jedit/View.java jEdit/trunk/org/gjt/sp/jedit/buffer/DefaultFoldHandlerProvider.java jEdit/trunk/org/gjt/sp/jedit/buffer/FoldHandlerProvider.java jEdit/trunk/org/gjt/sp/jedit/bufferset/BufferSetManager.java jEdit/trunk/org/gjt/sp/jedit/gui/DockableWindowManager.java jEdit/trunk/org/gjt/sp/jedit/gui/StatusBar.java jEdit/trunk/org/gjt/sp/jedit/jedit_keys.props jEdit/trunk/org/gjt/sp/util/IOUtilities.java jEdit/trunk/org/gjt/sp/util/StringList.java Modified: jEdit/trunk/doc/CHANGES.txt =================================================================== --- jEdit/trunk/doc/CHANGES.txt 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/doc/CHANGES.txt 2008-08-27 02:32:08 UTC (rev 13436) @@ -38,7 +38,7 @@ - A public field buffer in HyperSearchFileNode was removed. Use getBuffer() instead. (Kazutoshi Satoda) -- A new service, DockableWindowManagerProvier, makes it possible +- A new service, DockableWindowManagerProvider, makes it possible for plugins to offer alternate docking managers. (Shlomy Reinstein) }}} Modified: jEdit/trunk/doc/FAQ/faq-problems.xml =================================================================== --- jEdit/trunk/doc/FAQ/faq-problems.xml 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/doc/FAQ/faq-problems.xml 2008-08-27 02:32:08 UTC (rev 13436) @@ -296,29 +296,6 @@ </answer> </qandaentry> </qandadiv> - <!--********************************************************* Mac OS --> - <qandadiv id="macos-problems"> - <title>Mac OS Problems</title> - <qandaentry> - <question id="blurry-tabs"> - <para>Why are the tabs for docked windows blurry under OS X - 10.2?</para> - </question> - <answer> - <para>In Mac OS X 10.2 Apple enabled Hardware Acceleration - for Java by default. Unfortunately it had some bugs. This is - the result of one of these bugs. The only way to avoid this - problem is to disable hardware acceleration for jEdit or - your whole system. To disable it in jEdit you will need to - edit the following file: - jEdit/jEdit.app/Contents/Resources/MRJApp.properties You - will need to add the line - <userinput>com.apple.hwaccel=false</userinput>. This is done - for you in the Mac OS X plugin.</para> - </answer> - </qandaentry> - </qandadiv> - <!--***************************************************** Unix/Linux --> <qandadiv id="unix-problems"> <title>Unix/Linux Problems</title> <qandaentry> @@ -332,8 +309,8 @@ </programlisting> </question> <answer> - <para> Make sure the version of Java you are running is 1.5 or higher. Default installations of Linux still include a gij compiler which is only 1.4 compliant. - the do not normally include a java5 jre or even jdk, so you often must install it manually. In debian/ubuntu, + <para> Make sure the version of Java you are running is Sun Java 1.5 or higher. Default installations of Linux still include a gij compiler which is only 1.4 compliant or not fully Sun compliant. + Some do not include a java5 jre or even jdk, so you may need to install it manually. In debian/ubuntu, <literal> apt-get install sun-java5-jdk </literal> </para> </answer> Modified: jEdit/trunk/org/gjt/sp/jedit/ActionContext.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/ActionContext.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/ActionContext.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -58,7 +58,7 @@ /** * Returns the specified action. * @param name The action name - * @return a EditAction or null if it doesn't exists + * @return a EditAction or null if it doesn't exist * @since jEdit 4.2pre1 */ @Override Modified: jEdit/trunk/org/gjt/sp/jedit/IPropertyManager.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/IPropertyManager.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/IPropertyManager.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -35,7 +35,7 @@ /** * Returns a String property * @param name the name of the property - * @return the string property or null if it doesn't exists + * @return the string property or null if it doesn't exist */ String getProperty(String name); } Modified: jEdit/trunk/org/gjt/sp/jedit/JEditActionContext.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/JEditActionContext.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/JEditActionContext.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -118,7 +118,7 @@ /** * Returns the specified action. * @param name The action name - * @return a JEditAbstractEditAction or null if it doesn't exists + * @return a JEditAbstractEditAction or null if it doesn't exist * @since jEdit 4.3pre13 */ public F getAction(String name) Modified: jEdit/trunk/org/gjt/sp/jedit/ServiceManager.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/ServiceManager.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/ServiceManager.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -340,7 +340,7 @@ * Returns the fold handler with the specified name, or null if * there is no registered handler with that name. * @param name The name of the desired fold handler - * @return the FoldHandler or null if it doesn't exists + * @return the FoldHandler or null if it doesn't exist * @since jEdit 4.3pre10 */ public FoldHandler getFoldHandler(String name) Modified: jEdit/trunk/org/gjt/sp/jedit/View.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/View.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/View.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -1620,7 +1620,7 @@ buffer = jEdit.getBuffer(path); if (buffer == null) { - Log.log(Log.WARNING, this, "Error buffer " + path + " doesn't exists"); + Log.log(Log.WARNING, this, "Buffer " + path + " doesn't exist"); } else { Modified: jEdit/trunk/org/gjt/sp/jedit/buffer/DefaultFoldHandlerProvider.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/buffer/DefaultFoldHandlerProvider.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/buffer/DefaultFoldHandlerProvider.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -37,7 +37,7 @@ * there is no registered handler with that name. * * @param name The name of the desired fold handler - * @return the FoldHandler or null if it doesn't exists + * @return the FoldHandler or null if it doesn't exist * @since jEdit 4.3pre10 */ public FoldHandler getFoldHandler(String name) Modified: jEdit/trunk/org/gjt/sp/jedit/buffer/FoldHandlerProvider.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/buffer/FoldHandlerProvider.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/buffer/FoldHandlerProvider.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -33,7 +33,7 @@ * Returns the fold handler with the specified name, or null if * there is no registered handler with that name. * @param name The name of the desired fold handler - * @return the FoldHandler or null if it doesn't exists + * @return the FoldHandler or null if it doesn't exist * @since jEdit 4.3pre10 */ FoldHandler getFoldHandler(String name); Modified: jEdit/trunk/org/gjt/sp/jedit/bufferset/BufferSetManager.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/bufferset/BufferSetManager.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/bufferset/BufferSetManager.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -119,7 +119,7 @@ //{{{ getViewBufferSet() methods /** * Returns a view bufferSet for the given view. - * If it doesn't exists it is created + * If it doesn't exist it is created * * @param view a view * @return the view's bufferSet @@ -138,7 +138,7 @@ //{{{ getEditPaneBufferSet() method /** * Returns a EditPane bufferSet for the given EditPane. - * If it doesn't exists it is created + * If it doesn't exist it is created * * @param editPane the editPAne * @return the EditPane's bufferSet Modified: jEdit/trunk/org/gjt/sp/jedit/gui/DockableWindowManager.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/gui/DockableWindowManager.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/gui/DockableWindowManager.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -292,8 +292,8 @@ * title shown when it is floating (not docked). Fires a change event that makes sure * all floating dockables change their title. * - * @param dockableName the name of the dockable, as specified in the dockables.xml - * @param newTitle the new .longtitle you want to see above it. + * @param dockable the name of the dockable, as specified in the dockables.xml + * @param title the new .longtitle you want to see above it. * @since 4.3pre5 * */ Modified: jEdit/trunk/org/gjt/sp/jedit/gui/StatusBar.java =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/gui/StatusBar.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/gui/StatusBar.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -140,7 +140,7 @@ Widget widget = getWidget(token); if (widget == null) { - Log.log(Log.WARNING, this, "Widget " + token + " doesn't exists"); + Log.log(Log.WARNING, this, "Widget " + token + " doesn't exist"); continue; } Component c = widget.getComponent(); @@ -444,7 +444,7 @@ (StatusWidgetFactory) ServiceManager.getService("org.gjt.sp.jedit.gui.statusbar.StatusWidget", name); if (widgetFactory == null) { - Log.log(Log.ERROR, this, "Widget " + name + " doesn't exists"); + Log.log(Log.ERROR, this, "Widget " + name + " doesn't exist"); return null; } return widgetFactory.getWidget(view); Modified: jEdit/trunk/org/gjt/sp/jedit/jedit_keys.props =================================================================== --- jEdit/trunk/org/gjt/sp/jedit/jedit_keys.props 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/jedit/jedit_keys.props 2008-08-27 02:32:08 UTC (rev 13436) @@ -19,12 +19,12 @@ delete-line.shortcut=C+d # C+e is a prefix find.shortcut=C+f -find-next.shortcut=C+g +find-next.shortcut=F3 # C+h is not usable on MacOS X indent-lines.shortcut=C+i join-lines.shortcut=C+j swap-marker.shortcut=C+k -goto-line.shortcut=C+l +goto-line.shortcut=C+g # C+m is a prefix new-file.shortcut=C+n open-file.shortcut=C+o @@ -92,6 +92,7 @@ select-line-range.shortcut=C+e C+l add-marker.shortcut=C+e C+m center-caret.shortcut=C+e C+n +scroll-and-center=C+l open-path.shortcut=C+e C+o vertical-paste.shortcut=C+e C+p replace-in-selection.shortcut=C+e C+r Modified: jEdit/trunk/org/gjt/sp/util/IOUtilities.java =================================================================== --- jEdit/trunk/org/gjt/sp/util/IOUtilities.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/util/IOUtilities.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -132,7 +132,7 @@ * Returns the length of a file. If it is a directory it will calculate recursively the length. * * @param file the file or directory - * @return the length of the file or directory. If the file doesn't exists it will return 0 + * @return the length of the file or directory. If the file doesn't exist it will return 0 * @since 4.3pre10 */ public static long fileLength(File file) Modified: jEdit/trunk/org/gjt/sp/util/StringList.java =================================================================== --- jEdit/trunk/org/gjt/sp/util/StringList.java 2008-08-27 01:12:21 UTC (rev 13435) +++ jEdit/trunk/org/gjt/sp/util/StringList.java 2008-08-27 02:32:08 UTC (rev 13436) @@ -28,7 +28,7 @@ // {{{ StringList class /** - * A List<String> with some perl-like convenience functions (split/join primarily), + * A List<String> with some perl-like convenience functions (split/join primarily), * and easy conversion to/from arrays. * @since jEdit 4.3pre7 */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |