PageRenderTime 117ms CodeModel.GetById 106ms app.highlight 7ms RepoModel.GetById 1ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/org/gjt/sp/jedit/actions.xml

#
XML | 1371 lines | 1136 code | 222 blank | 13 comment | 0 complexity | 1f62a3d90cebd74eff468727a07e47d2 MD5 | raw file
   1<?xml version="1.0"?>
   2
   3<!DOCTYPE ACTIONS SYSTEM "actions.dtd">
   4
   5<!-- jEdit action table                                                      -->
   6<!-- Copyright (C) 2000, 2003 Slava Pestov                                   -->
   7
   8<!-- :tabSize=8:indentSize=8:noTabs=false:                                   -->
   9<!-- :folding=indent:collapseFolds=1:                                        -->
  10
  11<!-- Actions are the 'glue' that binds menu item selections and keystrokes   -->
  12<!-- to jEdit's APIs. For simplicity and compactness, they are written in    -->
  13<!-- the BeanShell scripting language.                                       -->
  14
  15<ACTIONS>
  16
  17<ACTION NAME="about">
  18	<CODE>
  19		new AboutDialog(view);
  20	</CODE>
  21</ACTION>
  22
  23<ACTION NAME="action-bar" NO_REPEAT="TRUE" NO_RECORD="TRUE" NO_REMEMBER_LAST="TRUE">
  24	<CODE>
  25		view.actionBar();
  26	</CODE>
  27</ACTION>
  28
  29<ACTION NAME="add-explicit-fold">
  30	<CODE>
  31		textArea.addExplicitFold();
  32	</CODE>
  33</ACTION>
  34
  35<ACTION NAME="add-buffer-to-favorites">
  36	<CODE>
  37		FavoritesVFS.addToFavorites(buffer.getPath(),VFS.DirectoryEntry.FILE);
  38	</CODE>
  39</ACTION>
  40
  41<ACTION NAME="add-dir-to-favorites">
  42	<CODE>
  43		FavoritesVFS.addToFavorites(buffer.getDirectory(),VFS.DirectoryEntry.DIRECTORY);
  44	</CODE>
  45</ACTION>
  46
  47<ACTION NAME="add-marker">
  48	<CODE>
  49		editPane.addMarker();
  50	</CODE>
  51</ACTION>
  52
  53<ACTION NAME="add-marker-shortcut" NO_REPEAT="TRUE" NO_RECORD="TRUE">
  54	<CODE>
  55		view.getInputHandler().readNextChar(
  56			buffer.getMarkerStatusPrompt("add-marker"),
  57			"buffer.addMarker(__char__,textArea.getCaretPosition());");
  58	</CODE>
  59</ACTION>
  60
  61<ACTION NAME="backspace">
  62	<CODE>
  63		textArea.backspace();
  64	</CODE>
  65</ACTION>
  66
  67<ACTION NAME="backspace-word">
  68	<CODE>
  69		textArea.backspaceWord();
  70	</CODE>
  71</ACTION>
  72
  73<ACTION NAME="backspace-word-std">
  74	<CODE>
  75		textArea.backspaceWord(true);
  76	</CODE>
  77</ACTION>
  78
  79<ACTION NAME="bottom-docking-area">
  80	<CODE>
  81		wm.getBottomDockingArea().showMostRecent();
  82	</CODE>
  83</ACTION>
  84
  85<ACTION NAME="buffer-options">
  86	<CODE>
  87		new BufferOptions(view,buffer);
  88	</CODE>
  89</ACTION>
  90
  91<ACTION NAME="center-caret">
  92	<CODE>
  93		textArea.centerCaret();
  94	</CODE>
  95</ACTION>
  96
  97<ACTION NAME="close-all">
  98	<CODE>
  99		jEdit.closeAllBuffers(view);
 100	</CODE>
 101</ACTION>
 102
 103<ACTION NAME="close-buffer">
 104	<CODE>
 105		jEdit.closeBuffer(view,buffer);
 106	</CODE>
 107</ACTION>
 108
 109<ACTION NAME="close-docking-area">
 110	<CODE>
 111		wm.closeCurrentArea();
 112	</CODE>
 113</ACTION>
 114
 115<ACTION NAME="close-view">
 116	<CODE>
 117		jEdit.closeView(view);
 118	</CODE>
 119</ACTION>
 120
 121<ACTION NAME="collapse-all-folds">
 122	<CODE>
 123		textArea.getDisplayManager().expandFolds(1);
 124	</CODE>
 125</ACTION>
 126
 127<ACTION NAME="collapse-fold">
 128	<CODE>
 129		textArea.collapseFold();
 130	</CODE>
 131</ACTION>
 132
 133<ACTION NAME="complete-word">
 134	<CODE>
 135		CompleteWord.completeWord(view);
 136	</CODE>
 137</ACTION>
 138
 139<ACTION NAME="copy">
 140	<CODE>
 141		Registers.copy(textArea,'$');
 142	</CODE>
 143</ACTION>
 144
 145<ACTION NAME="copy-append">
 146	<CODE>
 147		Registers.append(textArea,'$',"\n",false);
 148	</CODE>
 149</ACTION>
 150
 151<ACTION NAME="copy-append-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 152	<CODE>
 153		view.getInputHandler().readNextChar(
 154			Registers.getRegisterStatusPrompt("copy-append-string-register"),
 155			"Registers.append(textArea,__char__,\"\\n\",false);");
 156	</CODE>
 157</ACTION>
 158
 159<ACTION NAME="copy-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 160	<CODE>
 161		view.getInputHandler().readNextChar(
 162			Registers.getRegisterStatusPrompt("copy-string-register"),
 163			"Registers.copy(textArea,__char__);");
 164	</CODE>
 165</ACTION>
 166
 167<ACTION NAME="cut">
 168	<CODE>
 169		Registers.cut(textArea,'$');
 170	</CODE>
 171</ACTION>
 172
 173<ACTION NAME="cut-append">
 174	<CODE>
 175		Registers.append(textArea,'$',"\n",true);
 176	</CODE>
 177</ACTION>
 178
 179<ACTION NAME="cut-append-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 180	<CODE>
 181		view.getInputHandler().readNextChar(
 182			Registers.getRegisterStatusPrompt("cut-append-string-register"),
 183			"Registers.append(textArea,__char__,\"\\n\",true);");
 184	</CODE>
 185</ACTION>
 186
 187<ACTION NAME="cut-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 188	<CODE>
 189		view.getInputHandler().readNextChar(
 190			Registers.getRegisterStatusPrompt("cut-string-register"),
 191			"Registers.cut(textArea,__char__);");
 192	</CODE>
 193</ACTION>
 194
 195<ACTION NAME="delete">
 196	<CODE>
 197		textArea.delete();
 198	</CODE>
 199</ACTION>
 200
 201<ACTION NAME="delete-end-line">
 202	<CODE>
 203		textArea.deleteToEndOfLine();
 204	</CODE>
 205</ACTION>
 206
 207<ACTION NAME="delete-line">
 208	<CODE>
 209		textArea.deleteLine();
 210	</CODE>
 211</ACTION>
 212
 213<ACTION NAME="delete-paragraph">
 214	<CODE>
 215		textArea.deleteParagraph();
 216	</CODE>
 217</ACTION>
 218
 219<ACTION NAME="delete-start-line">
 220	<CODE>
 221		textArea.deleteToStartOfLine();
 222	</CODE>
 223</ACTION>
 224
 225<ACTION NAME="delete-word">
 226	<CODE>
 227		textArea.deleteWord();
 228	</CODE>
 229</ACTION>
 230
 231<ACTION NAME="delete-word-std">
 232	<CODE>
 233		textArea.deleteWord(true);
 234	</CODE>
 235</ACTION>
 236
 237<ACTION NAME="document-end">
 238	<CODE>
 239		textArea.goToBufferEnd(false);
 240	</CODE>
 241</ACTION>
 242
 243<ACTION NAME="document-home">
 244	<CODE>
 245		textArea.goToBufferStart(false);
 246	</CODE>
 247</ACTION>
 248
 249<ACTION NAME="edit-favorites">
 250	<CODE>
 251		VFSBrowser.browseDirectory(view,"favorites:");
 252	</CODE>
 253</ACTION>
 254
 255<ACTION NAME="end" NO_RECORD="TRUE">
 256	<CODE>
 257		textArea.smartEnd(false);
 258	</CODE>
 259</ACTION>
 260
 261<ACTION NAME="eval" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 262	<CODE>
 263		BeanShell.showEvaluateDialog(view);
 264	</CODE>
 265</ACTION>
 266
 267<ACTION NAME="eval-for-selected-lines">
 268	<CODE>
 269		BeanShell.showEvaluateLinesDialog(view);
 270	</CODE>
 271</ACTION>
 272
 273<ACTION NAME="eval-selection">
 274	<CODE>
 275		BeanShell.evalSelection(view,textArea);
 276	</CODE>
 277</ACTION>
 278
 279<ACTION NAME="expand-abbrev">
 280	<CODE>
 281		Abbrevs.expandAbbrev(view,true);
 282	</CODE>
 283</ACTION>
 284
 285<ACTION NAME="expand-all-folds">
 286	<CODE>
 287		textArea.getDisplayManager().expandAllFolds();
 288		textArea.scrollToCaret(false);
 289	</CODE>
 290</ACTION>
 291
 292<ACTION NAME="exit">
 293	<CODE>
 294		jEdit.exit(view,true);
 295	</CODE>
 296</ACTION>
 297
 298<ACTION NAME="expand-fold">
 299	<CODE>
 300		textArea.expandFold(true);
 301	</CODE>
 302</ACTION>
 303
 304<ACTION NAME="expand-one-level">
 305	<CODE>
 306		textArea.expandFold(false);
 307	</CODE>
 308</ACTION>
 309
 310<ACTION NAME="expand-folds" NO_REPEAT="TRUE"  NO_RECORD="TRUE">
 311	<CODE>
 312		view.getInputHandler().readNextChar(
 313			jEdit.getProperty("view.status.expand-folds"),
 314			"textArea.getDisplayManager().expandFolds(__char__);\n"
 315			+ "textArea.scrollToCaret(false);");
 316	</CODE>
 317</ACTION>
 318
 319<ACTION NAME="find" NO_RECORD="TRUE">
 320	<CODE>
 321		SearchDialog.showSearchDialog(view,textArea.getSelectedText(),SearchDialog.CURRENT_BUFFER);
 322	</CODE>
 323</ACTION>
 324
 325<ACTION NAME="find-next" NO_RECORD="TRUE">
 326	<CODE>
 327		SearchAndReplace.setReverseSearch(false);
 328		SearchAndReplace.find(view);
 329	</CODE>
 330</ACTION>
 331
 332<ACTION NAME="find-prev" NO_RECORD="TRUE">
 333	<CODE>
 334		SearchAndReplace.setReverseSearch(true);
 335		SearchAndReplace.find(view);
 336	</CODE>
 337</ACTION>
 338
 339<ACTION NAME="format-paragraph" NO_RECORD="TRUE">
 340	<CODE>
 341		textArea.formatParagraph();
 342	</CODE>
 343</ACTION>
 344
 345<ACTION NAME="global-options">
 346	<CODE>
 347		new GlobalOptions(view);
 348	</CODE>
 349</ACTION>
 350
 351	
 352<ACTION NAME="goto-line">
 353	<CODE>
 354		textArea.showGoToLineDialog();
 355	</CODE>
 356</ACTION>
 357
 358<ACTION NAME="goto-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 359	<CODE>
 360		view.getInputHandler().readNextChar(
 361			buffer.getMarkerStatusPrompt("goto-marker"),
 362			"editPane.goToMarker(__char__,false);");
 363	</CODE>
 364</ACTION>
 365
 366<ACTION NAME="help">
 367	<CODE>
 368		new HelpViewer();
 369	</CODE>
 370</ACTION>
 371
 372<ACTION NAME="home" NO_RECORD="TRUE">
 373	<CODE>
 374		textArea.smartHome(false);
 375	</CODE>
 376</ACTION>
 377
 378<ACTION NAME="hypersearch" NO_RECORD="TRUE">
 379	<CODE>
 380		view.quickHyperSearch(false);
 381	</CODE>
 382</ACTION>
 383
 384<ACTION NAME="hypersearch-word" NO_RECORD="TRUE">
 385	<CODE>
 386		view.quickHyperSearch(true);
 387	</CODE>
 388</ACTION>
 389
 390<ACTION NAME="ignore-case">
 391	<CODE>
 392		SearchAndReplace.setIgnoreCase(!SearchAndReplace.getIgnoreCase());
 393	</CODE>
 394	<IS_SELECTED>
 395		SearchAndReplace.getIgnoreCase();
 396	</IS_SELECTED>
 397</ACTION>
 398
 399<ACTION NAME="indent-lines">
 400	<CODE>
 401		textArea.indentSelectedLines();
 402	</CODE>
 403</ACTION>
 404
 405<ACTION NAME="insert-literal">
 406	<CODE>
 407		view.getInputHandler().readNextChar(
 408			jEdit.getProperty("view.status.insert-literal"),
 409			"textArea.setSelectedText(String.valueOf(__char__));");
 410	</CODE>
 411</ACTION>
 412
 413<ACTION NAME="insert-newline">
 414	<CODE>
 415		textArea.userInput('\n');
 416	</CODE>
 417</ACTION>
 418
 419<ACTION NAME="insert-tab">
 420	<CODE>
 421		textArea.userInput('\t');
 422	</CODE>
 423</ACTION>
 424
 425<ACTION NAME="insert-newline-indent">
 426	<CODE>
 427		textArea.insertEnterAndIndent();
 428	</CODE>
 429</ACTION>
 430
 431<ACTION NAME="insert-tab-indent">
 432	<CODE>
 433		textArea.insertTabAndIndent();
 434	</CODE>
 435</ACTION>
 436
 437<ACTION NAME="invert-selection">
 438	<CODE>
 439		textArea.invertSelection();
 440	</CODE>
 441</ACTION>
 442
 443<ACTION NAME="join-lines">
 444	<CODE>
 445		textArea.joinLines();
 446	</CODE>
 447</ACTION>
 448
 449<ACTION NAME="keyboard-tester">
 450	<CODE>
 451		new GrabKeyDialog(view,null,null,jEdit.newFile(view));
 452	</CODE>
 453</ACTION>
 454
 455<ACTION NAME="last-action" NO_RECORD="TRUE" NO_REMEMBER_LAST="TRUE">
 456	<CODE>
 457		view.getInputHandler().invokeLastAction();
 458	</CODE>
 459</ACTION>
 460
 461<ACTION NAME="last-macro" NO_RECORD="TRUE" NO_REMEMBER_LAST="TRUE">
 462	<CODE>
 463		if(Macros.getLastMacro() == null)
 464			view.getToolkit().beep();
 465		else
 466			Macros.getLastMacro().invoke(view);
 467	</CODE>
 468</ACTION>
 469
 470<ACTION NAME="left-docking-area">
 471	<CODE>
 472		wm.getLeftDockingArea().showMostRecent();
 473	</CODE>
 474</ACTION>
 475
 476<ACTION NAME="line-comment">
 477	<CODE>
 478		textArea.lineComment();
 479	</CODE>
 480</ACTION>
 481
 482<ACTION NAME="line-end">
 483	<CODE>
 484		textArea.goToEndOfLine(false);
 485	</CODE>
 486</ACTION>
 487
 488<ACTION NAME="line-home">
 489	<CODE>
 490		textArea.goToStartOfLine(false);
 491	</CODE>
 492</ACTION>
 493
 494<ACTION NAME="match-bracket">
 495	<CODE>
 496		textArea.goToMatchingBracket();
 497	</CODE>
 498</ACTION>
 499
 500<ACTION NAME="memory-status">
 501	<CODE>
 502		jEdit.showMemoryDialog(view);
 503	</CODE>
 504</ACTION>
 505
 506<ACTION NAME="narrow-to-fold">
 507	<CODE>
 508		textArea.narrowToFold();
 509	</CODE>
 510</ACTION>
 511
 512<ACTION NAME="narrow-to-selection">
 513	<CODE>
 514		textArea.narrowToSelection();
 515	</CODE>
 516</ACTION>
 517
 518<ACTION NAME="new-file">
 519	<CODE>
 520		jEdit.newFile(view);
 521	</CODE>
 522</ACTION>
 523
 524<ACTION NAME="new-plain-view">
 525	<CODE>
 526		jEdit.newView(view,buffer,true);
 527	</CODE>
 528</ACTION>
 529
 530<ACTION NAME="new-view">
 531	<CODE>
 532		jEdit.newView(view);
 533	</CODE>
 534</ACTION>
 535
 536<ACTION NAME="next-bracket">
 537	<CODE>
 538		textArea.goToNextBracket(false);
 539	</CODE>
 540</ACTION>
 541
 542<ACTION NAME="next-buffer">
 543	<CODE>
 544		editPane.nextBuffer();
 545	</CODE>
 546</ACTION>
 547
 548<ACTION NAME="next-char">
 549	<CODE>
 550		textArea.goToNextCharacter(false);
 551	</CODE>
 552</ACTION>
 553
 554<ACTION NAME="next-fold">
 555	<CODE>
 556		textArea.goToNextFold(false);
 557	</CODE>
 558</ACTION>
 559
 560<ACTION NAME="next-line">
 561	<CODE>
 562		textArea.goToNextLine(false);
 563	</CODE>
 564</ACTION>
 565
 566<ACTION NAME="next-marker">
 567	<CODE>
 568		editPane.goToNextMarker(false);
 569	</CODE>
 570</ACTION>
 571
 572<ACTION NAME="next-page">
 573	<CODE>
 574		textArea.goToNextPage(false);
 575	</CODE>
 576</ACTION>
 577
 578<ACTION NAME="next-paragraph">
 579	<CODE>
 580		textArea.goToNextParagraph(false);
 581	</CODE>
 582</ACTION>
 583
 584<ACTION NAME="next-textarea">
 585	<CODE>
 586		view.nextTextArea();
 587	</CODE>
 588</ACTION>
 589
 590<ACTION NAME="next-word">
 591	<CODE>
 592		textArea.goToNextWord(false,false);
 593	</CODE>
 594</ACTION>
 595
 596<ACTION NAME="next-word-std">
 597	<CODE>
 598		textArea.goToNextWord(false,true);
 599	</CODE>
 600</ACTION>
 601
 602<ACTION NAME="open-file">
 603	<CODE>
 604		GUIUtilities.showVFSFileDialog(view,null,VFSBrowser.BROWSER_DIALOG,true);
 605	</CODE>
 606</ACTION>
 607
 608<ACTION NAME="overwrite" NO_RECORD="TRUE">
 609	<CODE>
 610		textArea.toggleOverwriteEnabled();
 611	</CODE>
 612	<IS_SELECTED>
 613		return textArea.isOverwriteEnabled();
 614	</IS_SELECTED>
 615</ACTION>
 616
 617<ACTION NAME="page-setup">
 618	<CODE>
 619		if(OperatingSystem.hasJava14())
 620			BufferPrinter1_4.pageSetup(view);
 621		else
 622			BufferPrinter1_3.pageSetup(view);
 623	</CODE>
 624</ACTION>
 625
 626<ACTION NAME="parent-fold">
 627	<CODE>
 628		textArea.goToParentFold();
 629	</CODE>
 630</ACTION>
 631
 632<ACTION NAME="paste">
 633	<CODE>
 634		Registers.paste(textArea,'$',false);
 635	</CODE>
 636</ACTION>
 637
 638<ACTION NAME="paste-deleted">
 639	<CODE>
 640		new PasteFromListDialog("paste-deleted",view,
 641			KillRing.getInstance());
 642	</CODE>
 643</ACTION>
 644
 645<ACTION NAME="paste-previous">
 646	<CODE>
 647		new PasteFromListDialog("paste-previous",view,
 648			HistoryModel.getModel("clipboard"));
 649	</CODE>
 650</ACTION>
 651
 652<ACTION NAME="paste-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 653	<CODE>
 654		view.getInputHandler().readNextChar(
 655			Registers.getRegisterStatusPrompt("paste-string-register"),
 656			"Registers.paste(textArea,__char__,false);");
 657	</CODE>
 658</ACTION>
 659
 660<ACTION NAME="plugin-manager">
 661	<CODE>
 662		PluginManager.showPluginManager(view);
 663	</CODE>
 664</ACTION>
 665
 666<ACTION NAME="plugin-options">
 667	<CODE>
 668		new PluginOptions(view);
 669	</CODE>
 670</ACTION>
 671
 672<ACTION NAME="prev-bracket">
 673	<CODE>
 674		textArea.goToPrevBracket(false);
 675	</CODE>
 676</ACTION>
 677
 678<ACTION NAME="prev-buffer">
 679	<CODE>
 680		editPane.prevBuffer();
 681	</CODE>
 682</ACTION>
 683
 684<ACTION NAME="prev-char">
 685	<CODE>
 686		textArea.goToPrevCharacter(false);
 687	</CODE>
 688</ACTION>
 689
 690<ACTION NAME="prev-fold">
 691	<CODE>
 692		textArea.goToPrevFold(false);
 693	</CODE>
 694</ACTION>
 695
 696<ACTION NAME="prev-line">
 697	<CODE>
 698		textArea.goToPrevLine(false);
 699	</CODE>
 700</ACTION>
 701
 702<ACTION NAME="prev-marker">
 703	<CODE>
 704		editPane.goToPrevMarker(false);
 705	</CODE>
 706</ACTION>
 707
 708<ACTION NAME="prev-page">
 709	<CODE>
 710		textArea.goToPrevPage(false);
 711	</CODE>
 712</ACTION>
 713
 714<ACTION NAME="prev-paragraph">
 715	<CODE>
 716		textArea.goToPrevParagraph(false);
 717	</CODE>
 718</ACTION>
 719
 720<ACTION NAME="prev-textarea">
 721	<CODE>
 722		view.prevTextArea();
 723	</CODE>
 724</ACTION>
 725
 726<ACTION NAME="prev-word">
 727	<CODE>
 728		textArea.goToPrevWord(false,false);
 729	</CODE>
 730</ACTION>
 731
 732<ACTION NAME="prev-word-std">
 733	<CODE>
 734		textArea.goToPrevWord(false,true);
 735	</CODE>
 736</ACTION>
 737
 738<ACTION NAME="print">
 739	<CODE>
 740
 741	if(OperatingSystem.hasJava14() &amp;&amp;
 742		!jEdit.getBooleanProperty("print.force13"))
 743		BufferPrinter1_4.print(view,buffer,false);
 744	else
 745		BufferPrinter1_3.print(view,buffer,false);
 746	</CODE>
 747</ACTION>
 748
 749<!-- not yet implemented -->
 750
 751<!-- <ACTION NAME="print-selection">
 752	<CODE>
 753		BufferPrinter.print(view,buffer,true);
 754	</CODE>
 755</ACTION> -->
 756
 757<ACTION NAME="quick-search" NO_RECORD="TRUE">
 758	<CODE>
 759		view.quickIncrementalSearch(false);
 760	</CODE>
 761</ACTION>
 762
 763<ACTION NAME="quick-search-word" NO_RECORD="TRUE">
 764	<CODE>
 765		view.quickIncrementalSearch(true);
 766	</CODE>
 767</ACTION>
 768
 769<ACTION NAME="range-comment">
 770	<CODE>
 771		textArea.rangeComment();
 772	</CODE>
 773</ACTION>
 774
 775<ACTION NAME="record-macro" NO_RECORD="TRUE">
 776	<CODE>
 777		Macros.recordMacro(view);
 778	</CODE>
 779</ACTION>
 780
 781<ACTION NAME="record-temp-macro" NO_RECORD="TRUE">
 782	<CODE>
 783		Macros.recordTemporaryMacro(view);
 784	</CODE>
 785</ACTION>
 786
 787<ACTION NAME="recent-buffer">
 788	<CODE>
 789		view.getEditPane().recentBuffer();
 790	</CODE>
 791</ACTION>
 792
 793<ACTION NAME="redo">
 794	<CODE>
 795		buffer.redo(textArea);
 796	</CODE>
 797</ACTION>
 798
 799<ACTION NAME="regexp">
 800	<CODE>
 801		SearchAndReplace.setRegexp(!SearchAndReplace.getRegexp());
 802	</CODE>
 803	<IS_SELECTED>
 804		SearchAndReplace.getRegexp();
 805	</IS_SELECTED>
 806</ACTION>
 807
 808<ACTION NAME="reload">
 809	<CODE>
 810		buffer.reload(view);
 811	</CODE>
 812</ACTION>
 813
 814<ACTION NAME="reload-all">
 815	<CODE>
 816		jEdit.reloadAllBuffers(view,true);
 817	</CODE>
 818</ACTION>
 819
 820<ACTION NAME="reload-modes">
 821	<CODE>
 822		jEdit.reloadModes();
 823	</CODE>
 824</ACTION>
 825
 826<ACTION NAME="remove-all-markers">
 827	<CODE>
 828		buffer.removeAllMarkers();
 829	</CODE>
 830</ACTION>
 831
 832<ACTION NAME="remove-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 833	<CODE>
 834		buffer.removeMarker(textArea.getCaretLine());
 835	</CODE>
 836</ACTION>
 837
 838<ACTION NAME="remove-trailing-ws">
 839	<CODE>
 840		textArea.removeTrailingWhiteSpace();
 841	</CODE>
 842</ACTION>
 843
 844<ACTION NAME="replace-all" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 845	<CODE>
 846		SearchAndReplace.replaceAll(view);
 847	</CODE>
 848</ACTION>
 849
 850<ACTION NAME="replace-and-find-next" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 851	<CODE>
 852		if(SearchAndReplace.replace(view))
 853			SearchAndReplace.find(view);
 854	</CODE>
 855</ACTION>
 856
 857<ACTION NAME="replace-in-selection" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 858	<CODE>
 859		SearchAndReplace.replace(view);
 860	</CODE>
 861</ACTION>
 862
 863<ACTION NAME="rescan-macros">
 864	<CODE>
 865		Macros.loadMacros();
 866	</CODE>
 867</ACTION>
 868
 869<ACTION NAME="resplit">
 870	<CODE>
 871		view.resplit();
 872	</CODE>
 873</ACTION>
 874
 875<ACTION NAME="right-docking-area">
 876	<CODE>
 877		wm.getRightDockingArea().showMostRecent();
 878	</CODE>
 879</ACTION>
 880
 881<ACTION NAME="run-other-macro">
 882	<CODE>
 883		Macros.showRunScriptDialog(view);
 884	</CODE>
 885</ACTION>
 886
 887<ACTION NAME="run-temp-macro" NO_RECORD="TRUE">
 888	<CODE>
 889		Macros.runTemporaryMacro(view);
 890	</CODE>
 891</ACTION>
 892
 893<ACTION NAME="save">
 894	<CODE>
 895		buffer.save(view,null,true);
 896	</CODE>
 897</ACTION>
 898
 899<ACTION NAME="save-all">
 900	<CODE>
 901		jEdit.saveAllBuffers(view);
 902	</CODE>
 903</ACTION>
 904
 905<ACTION NAME="save-as">
 906	<CODE>
 907		buffer.saveAs(view,true);
 908	</CODE>
 909</ACTION>
 910
 911<ACTION NAME="save-a-copy-as">
 912	<CODE>
 913		buffer.saveAs(view,false);
 914	</CODE>
 915</ACTION>
 916
 917<ACTION NAME="scroll-down-line">
 918	<CODE>
 919		textArea.scrollDownLine();
 920	</CODE>
 921</ACTION>
 922
 923<ACTION NAME="scroll-down-page">
 924	<CODE>
 925		textArea.scrollDownPage();
 926	</CODE>
 927</ACTION>
 928
 929<ACTION NAME="scroll-to-current-line">
 930	<CODE>
 931		if(!textArea.getDisplayManager().isLineVisible(
 932			textArea.getCaretLine()))
 933		{
 934			textArea.getDisplayManager().expandFold(
 935				textArea.getCaretLine(),true);
 936		}
 937		textArea.scrollToCaret(true);
 938		textArea.requestFocus();
 939	</CODE>
 940</ACTION>
 941
 942<ACTION NAME="scroll-up-line">
 943	<CODE>
 944		textArea.scrollUpLine();
 945	</CODE>
 946</ACTION>
 947
 948<ACTION NAME="scroll-up-page">
 949	<CODE>
 950		textArea.scrollUpPage();
 951	</CODE>
 952</ACTION>
 953
 954<ACTION NAME="search-in-open-buffers" NO_RECORD="TRUE">
 955	<CODE>
 956		SearchDialog.showSearchDialog(view,textArea.getSelectedText(),
 957			SearchDialog.ALL_BUFFERS);
 958	</CODE>
 959</ACTION>
 960
 961<ACTION NAME="search-in-directory" NO_RECORD="TRUE">
 962	<CODE>
 963		SearchDialog.showSearchDialog(view,textArea.getSelectedText(),
 964			SearchDialog.DIRECTORY);
 965	</CODE>
 966</ACTION>
 967
 968<ACTION NAME="select-all">
 969	<CODE>
 970		textArea.selectAll();
 971	</CODE>
 972</ACTION>
 973
 974<ACTION NAME="select-block">
 975	<CODE>
 976		textArea.selectBlock();
 977	</CODE>
 978</ACTION>
 979
 980<ACTION NAME="select-fold">
 981	<CODE>
 982		textArea.selectFold();
 983	</CODE>
 984</ACTION>
 985
 986<ACTION NAME="select-home" NO_RECORD="TRUE">
 987	<CODE>
 988		textArea.smartHome(true);
 989	</CODE>
 990</ACTION>
 991
 992<ACTION NAME="select-end" NO_RECORD="TRUE">
 993	<CODE>
 994		textArea.smartEnd(true);
 995	</CODE>
 996</ACTION>
 997
 998<ACTION NAME="select-line">
 999	<CODE>
1000		textArea.selectLine();
1001	</CODE>
1002</ACTION>
1003
1004<ACTION NAME="select-line-range">
1005	<CODE>
1006		new SelectLineRange(view);
1007	</CODE>
1008</ACTION>
1009
1010<ACTION NAME="select-paragraph">
1011	<CODE>
1012		textArea.selectParagraph();
1013	</CODE>
1014</ACTION>
1015
1016<ACTION NAME="select-word">
1017	<CODE>
1018		textArea.selectWord();
1019	</CODE>
1020</ACTION>
1021
1022<ACTION NAME="select-document-end">
1023	<CODE>
1024		textArea.goToBufferEnd(true);
1025	</CODE>
1026</ACTION>
1027
1028<ACTION NAME="select-document-home">
1029	<CODE>
1030		textArea.goToBufferStart(true);
1031	</CODE>
1032</ACTION>
1033
1034<ACTION NAME="select-line-home">
1035	<CODE>
1036		textArea.goToStartOfLine(true);
1037	</CODE>
1038</ACTION>
1039
1040<ACTION NAME="select-line-end">
1041	<CODE>
1042		textArea.goToEndOfLine(true);
1043	</CODE>
1044</ACTION>
1045
1046<ACTION NAME="select-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
1047	<CODE>
1048		view.getInputHandler().readNextChar(
1049			buffer.getMarkerStatusPrompt("select-marker"),
1050			"editPane.goToMarker(__char__,true);");
1051	</CODE>
1052</ACTION>
1053
1054<ACTION NAME="select-next-bracket">
1055	<CODE>
1056		textArea.goToNextBracket(true);
1057	</CODE>
1058</ACTION>
1059
1060<ACTION NAME="select-next-char">
1061	<CODE>
1062		textArea.goToNextCharacter(true);
1063	</CODE>
1064</ACTION>
1065
1066<ACTION NAME="select-next-line">
1067	<CODE>
1068		textArea.goToNextLine(true);
1069	</CODE>
1070</ACTION>
1071
1072<ACTION NAME="select-next-marker">
1073	<CODE>
1074		textArea.goToNextMarker(true);
1075	</CODE>
1076</ACTION>
1077
1078<ACTION NAME="select-next-page">
1079	<CODE>
1080		textArea.goToNextPage(true);
1081	</CODE>
1082</ACTION>
1083
1084<ACTION NAME="select-next-paragraph">
1085	<CODE>
1086		textArea.goToNextParagraph(true);
1087	</CODE>
1088</ACTION>
1089
1090<ACTION NAME="select-next-word">
1091	<CODE>
1092		textArea.goToNextWord(true,false);
1093	</CODE>
1094</ACTION>
1095
1096<ACTION NAME="select-next-word-std">
1097	<CODE>
1098		textArea.goToNextWord(true,true);
1099	</CODE>
1100</ACTION>
1101
1102<ACTION NAME="select-none">
1103	<CODE>
1104		s = textArea.getSelectionAtOffset(textArea.getCaretPosition());
1105		if(s == null)
1106			textArea.selectNone();
1107		else
1108			textArea.removeFromSelection(s);
1109	</CODE>
1110</ACTION>
1111
1112<ACTION NAME="select-prev-bracket">
1113	<CODE>
1114		textArea.goToPrevBracket(true);
1115	</CODE>
1116</ACTION>
1117
1118<ACTION NAME="select-prev-char">
1119	<CODE>
1120		textArea.goToPrevCharacter(true);
1121	</CODE>
1122</ACTION>
1123
1124<ACTION NAME="select-prev-line">
1125	<CODE>
1126		textArea.goToPrevLine(true);
1127	</CODE>
1128</ACTION>
1129
1130<ACTION NAME="select-prev-marker">
1131	<CODE>
1132		textArea.goToPrevMarker(true);
1133	</CODE>
1134</ACTION>
1135
1136<ACTION NAME="select-prev-page">
1137	<CODE>
1138		textArea.goToPrevPage(true);
1139	</CODE>
1140</ACTION>
1141
1142<ACTION NAME="select-prev-paragraph">
1143	<CODE>
1144		textArea.goToPrevParagraph(true);
1145	</CODE>
1146</ACTION>
1147
1148<ACTION NAME="select-prev-word">
1149	<CODE>
1150		textArea.goToPrevWord(true,false);
1151	</CODE>
1152</ACTION>
1153
1154<ACTION NAME="select-prev-word-std">
1155	<CODE>
1156		textArea.goToPrevWord(true,true);
1157	</CODE>
1158</ACTION>
1159
1160<ACTION NAME="select-visible-home">
1161	<CODE>
1162		textArea.goToFirstVisibleLine(true);
1163	</CODE>
1164</ACTION>
1165
1166<ACTION NAME="select-visible-end">
1167	<CODE>
1168		textArea.goToLastVisibleLine(true);
1169	</CODE>
1170</ACTION>
1171
1172<ACTION NAME="select-whitespace-end">
1173	<CODE>
1174		textArea.goToEndOfWhiteSpace(true);
1175	</CODE>
1176</ACTION>
1177
1178<ACTION NAME="select-whitespace-home">
1179	<CODE>
1180		textArea.goToStartOfWhiteSpace(true);
1181	</CODE>
1182</ACTION>
1183
1184<ACTION NAME="shift-left">
1185	<CODE>
1186		textArea.shiftIndentLeft();
1187	</CODE>
1188</ACTION>
1189
1190<ACTION NAME="shift-right">
1191	<CODE>
1192		textArea.shiftIndentRight();
1193	</CODE>
1194</ACTION>
1195
1196<ACTION NAME="show-buffer-switcher">
1197	<CODE>
1198		editPane.showBufferSwitcher();
1199	</CODE>
1200</ACTION>
1201
1202<ACTION NAME="spaces-to-tabs">
1203	<CODE>
1204		textArea.spacesToTabs();
1205	</CODE>
1206</ACTION>
1207
1208<ACTION NAME="split-horizontal">
1209	<CODE>
1210		view.splitHorizontally();
1211	</CODE>
1212</ACTION>
1213
1214<ACTION NAME="split-vertical">
1215	<CODE>
1216		view.splitVertically();
1217	</CODE>
1218</ACTION>
1219
1220<ACTION NAME="stop-recording" NO_RECORD="TRUE">
1221	<CODE>
1222		Macros.stopRecording(view);
1223	</CODE>
1224</ACTION>
1225
1226<ACTION NAME="swap-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
1227	<CODE>
1228		view.getInputHandler().readNextChar(
1229			buffer.getMarkerStatusPrompt("swap-marker"),
1230			"editPane.swapMarkerAndCaret(__char__);");
1231	</CODE>
1232</ACTION>
1233
1234<ACTION NAME="tabs-to-spaces">
1235	<CODE>
1236		textArea.tabsToSpaces();
1237	</CODE>
1238</ACTION>
1239
1240<ACTION NAME="tip-of-the-day">
1241	<CODE>
1242		new TipOfTheDay(view);
1243	</CODE>
1244</ACTION>
1245
1246<ACTION NAME="to-lower">
1247	<CODE>
1248		textArea.toLowerCase();
1249	</CODE>
1250</ACTION>
1251
1252<ACTION NAME="to-upper">
1253	<CODE>
1254		textArea.toUpperCase();
1255	</CODE>
1256</ACTION>
1257
1258<ACTION NAME="top-docking-area">
1259	<CODE>
1260		wm.getTopDockingArea().showMostRecent();
1261	</CODE>
1262</ACTION>
1263
1264<ACTION NAME="toggle-line-numbers">
1265	<CODE>
1266		textArea.getGutter().toggleExpanded();
1267	</CODE>
1268	<IS_SELECTED>
1269		return textArea.getGutter().isExpanded();
1270	</IS_SELECTED>
1271</ACTION>
1272
1273<ACTION NAME="toggle-line-separator">
1274	<CODE>
1275		buffer.toggleLineSeparator(view);
1276	</CODE>
1277</ACTION>
1278
1279<ACTION NAME="toggle-multi-select">
1280	<CODE>
1281		textArea.toggleMultipleSelectionEnabled();
1282	</CODE>
1283	<IS_SELECTED>
1284		return textArea.isMultipleSelectionEnabled();
1285	</IS_SELECTED>
1286</ACTION>
1287
1288<ACTION NAME="toggle-rect-select">
1289	<CODE>
1290		textArea.toggleRectangularSelectionEnabled();
1291	</CODE>
1292	<IS_SELECTED>
1293		return textArea.isRectangularSelectionEnabled();
1294	</IS_SELECTED>
1295</ACTION>
1296
1297<ACTION NAME="toggle-word-wrap">
1298	<CODE>
1299		buffer.toggleWordWrap(view);
1300	</CODE>
1301</ACTION>
1302
1303<ACTION NAME="update-log">
1304	<CODE>
1305		Log.flushStream();
1306	</CODE>
1307</ACTION>
1308
1309<ACTION NAME="undo">
1310	<CODE>
1311		buffer.undo(textArea);
1312	</CODE>
1313</ACTION>
1314
1315<ACTION NAME="unsplit">
1316	<CODE>
1317		view.unsplit();
1318	</CODE>
1319</ACTION>
1320
1321<ACTION NAME="unsplit-current">
1322	<CODE>
1323		view.unsplitCurrent();
1324	</CODE>
1325</ACTION>
1326
1327<ACTION NAME="vertical-paste">
1328	<CODE>
1329		Registers.paste(textArea,'$',true);
1330	</CODE>
1331</ACTION>
1332
1333<ACTION NAME="vertical-paste-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
1334	<CODE>
1335		view.getInputHandler().readNextChar(
1336			Registers.getRegisterStatusPrompt("vertical-paste-string-register"),
1337			"Registers.paste(textArea,__char__,true);");
1338	</CODE>
1339</ACTION>
1340
1341<ACTION NAME="visible-end">
1342	<CODE>
1343		textArea.goToLastVisibleLine(false);
1344	</CODE>
1345</ACTION>
1346
1347<ACTION NAME="visible-home">
1348	<CODE>
1349		textArea.goToFirstVisibleLine(false);
1350	</CODE>
1351</ACTION>
1352
1353<ACTION NAME="whitespace-end">
1354	<CODE>
1355		textArea.goToEndOfWhiteSpace(false);
1356	</CODE>
1357</ACTION>
1358
1359<ACTION NAME="whitespace-home">
1360	<CODE>
1361		textArea.goToStartOfWhiteSpace(false);
1362	</CODE>
1363</ACTION>
1364
1365<ACTION NAME="word-count">
1366	<CODE>
1367		textArea.showWordCountDialog();
1368	</CODE>
1369</ACTION>
1370
1371</ACTIONS>