[Pydev-cvs] org.python.pydev plugin.xml,1.16,1.17
Brought to you by:
fabioz
From: Parhaum T. <dre...@us...> - 2004-06-11 20:04:06
|
Update of /cvsroot/pydev/org.python.pydev In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6185 Modified Files: plugin.xml Log Message: Modified in org.python.pydev: PyAddCommentBlock - Extends PyComment, works on multiple lines PyComment - Selects newly commented lines after performing action PyUnComment - Selects newly uncommented lines after performing action Plugin.xml - Added PyRemoveCommentBlock and PyStripTrailingWhitespace functionality to menu, context, and hotkey (Ctrl+5) PluginPrefs - Made block comment separator a user-defined string Modified in org.python.pydev.help: toc_main.xml - user guide structure New: PyRemoveCommentBlock - Created to undo AddCommentBlock action PyStripTrailingWhitespace - Created to strip trailing whitespace from a selection or the document Index: plugin.xml =================================================================== RCS file: /cvsroot/pydev/org.python.pydev/plugin.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** plugin.xml 25 May 2004 21:25:11 -0000 1.16 --- plugin.xml 11 Jun 2004 20:03:56 -0000 1.17 *************** *** 101,104 **** --- 101,107 ---- name="addGroup"> </separator> + <separator + name="whitespaceGroup"> + </separator> </menu> <action *************** *** 110,113 **** --- 113,123 ---- </action> <action + definitionId="org.python.pydev.editor.actions.stripTrailingWhitespace" + label="Strip trailing whitespace" + class="org.python.pydev.editor.actions.PyStripTrailingWhitespace" + menubarPath="org.python.pydev.editor.actions.sourceMenu/whitespaceGroup" + id="org.python.pydev.editor.actions.stripTrailingWhitespace"> + </action> + <action definitionId="org.python.pydev.editor.actions.uncomment" label="Uncomment" *************** *** 124,127 **** --- 134,144 ---- </action> <action + definitionId="org.python.pydev.editor.actions.removeBlockComment" + label="Remove comment block" + class="org.python.pydev.editor.actions.PyRemoveBlockComment" + menubarPath="org.python.pydev.editor.actions.sourceMenu/addGroup" + id="org.python.pydev.editor.actions.removeBlockComment"> + </action> + <action definitionId="org.python.pydev.editor.actions.addBlockComment" label="Add comment block" *************** *** 169,174 **** --- 186,200 ---- name="addGroup"> </separator> + <separator + name="whitespaceGroup"> + </separator> </menu> <action + label="Strip trailing whitespace" + class="org.python.pydev.editor.actions.PyStripTrailingWhitespace" + menubarPath="org.python.pydev.editor.actions.editorPopup/whitespaceGroup" + id="org.python.pydev.editor.actions.stripTrailingWhitespace"> + </action> + <action label="Uncomment" class="org.python.pydev.editor.actions.PyUncomment" *************** *** 183,186 **** --- 209,218 ---- </action> <action + label="Remove comment block" + class="org.python.pydev.editor.actions.PyRemoveBlockComment" + menubarPath="org.python.pydev.editor.actions.editorPopup/addGroup" + id="org.python.pydev.editor.actions.removeBlockComment"> + </action> + <action label="Add comment block" class="org.python.pydev.editor.actions.PyAddBlockComment" *************** *** 256,259 **** --- 288,317 ---- configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> </keyBinding> + <!-- command: whitespace--> + <command + name="Strip trailing whitespace" + description="Strips trailing whitespace from selected region or whole document if nothing selected" + category="org.python.pydev.ui.category.source" + id="org.python.pydev.editor.actions.stripTrailingWhitespace"> + </command> + <keyBinding + string="Shift+Space" + scope="org.python.pydev.ui.editor.scope" + command="org.python.pydev.editor.actions.stripTrailingWhitespace" + configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> + </keyBinding> + <!-- command: unblock--> + <command + name="Remove Comment Block" + description="Removes a python comment block" + category="org.python.pydev.ui.category.source" + id="org.python.pydev.editor.actions.removeBlockComment"> + </command> + <keyBinding + string="Ctrl+5" + scope="org.python.pydev.ui.editor.scope" + command="org.python.pydev.editor.actions.removeBlockComment" + configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> + </keyBinding> <!-- command: block--> <command |