PageRenderTime 19ms CodeModel.GetById 2ms app.highlight 12ms RepoModel.GetById 1ms app.codeStats 1ms

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

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