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

/jEdit/tags/jedit-4-0-pre3/org/gjt/sp/jedit/actions.xml

#
XML | 1112 lines | 922 code | 183 blank | 7 comment | 0 complexity | ae2189037ce18b275ea55fc5ddcc0a20 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 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="browse-system-macros">
  56	<CODE>
  57		Macros.browseSystemMacros(view);
  58	</CODE>
  59</ACTION>
  60
  61<ACTION NAME="browse-user-macros">
  62	<CODE>
  63		Macros.browseUserMacros(view);
  64	</CODE>
  65</ACTION>
  66
  67<ACTION NAME="buffer-options">
  68	<CODE>
  69		new BufferOptions(view,buffer);
  70	</CODE>
  71</ACTION>
  72
  73<ACTION NAME="center-caret">
  74	<CODE>
  75		textArea.centerCaret();
  76	</CODE>
  77</ACTION>
  78
  79<ACTION NAME="close-all">
  80	<CODE>
  81		jEdit.closeAllBuffers(view);
  82	</CODE>
  83</ACTION>
  84
  85<ACTION NAME="close-bottom-docking-area">
  86	<CODE>
  87		view.getDockableWindowManager().getBottomDockingArea().show(null);
  88	</CODE>
  89</ACTION>
  90
  91<ACTION NAME="close-buffer">
  92	<CODE>
  93		jEdit.closeBuffer(view,buffer);
  94	</CODE>
  95</ACTION>
  96
  97<ACTION NAME="close-left-docking-area">
  98	<CODE>
  99		view.getDockableWindowManager().getLeftDockingArea().show(null);
 100	</CODE>
 101</ACTION>
 102
 103<ACTION NAME="close-right-docking-area">
 104	<CODE>
 105		view.getDockableWindowManager().getRightDockingArea().show(null);
 106	</CODE>
 107</ACTION>
 108
 109<ACTION NAME="close-top-docking-area">
 110	<CODE>
 111		view.getDockableWindowManager().getTopDockingArea().show(null);
 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.getFoldVisibilityManager().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(textArea);
 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			jEdit.getProperty("view.status.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			jEdit.getProperty("view.status.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			jEdit.getProperty("view.status.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			jEdit.getProperty("view.status.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="document-end">
 232	<CODE>
 233		textArea.goToBufferEnd(false);
 234	</CODE>
 235</ACTION>
 236
 237<ACTION NAME="document-home">
 238	<CODE>
 239		textArea.goToBufferStart(false);
 240	</CODE>
 241</ACTION>
 242
 243<ACTION NAME="end" NO_RECORD="TRUE">
 244	<CODE>
 245		textArea.smartEnd(false);
 246	</CODE>
 247</ACTION>
 248
 249<ACTION NAME="eval" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 250	<CODE>
 251		BeanShell.showEvaluateDialog(view);
 252	</CODE>
 253</ACTION>
 254
 255<ACTION NAME="eval-for-selected-lines">
 256	<CODE>
 257		BeanShell.showEvaluateLinesDialog(view);
 258	</CODE>
 259</ACTION>
 260
 261<ACTION NAME="eval-selection">
 262	<CODE>
 263		BeanShell.evalSelection(view,textArea);
 264	</CODE>
 265</ACTION>
 266
 267<ACTION NAME="expand-abbrev">
 268	<CODE>
 269		Abbrevs.expandAbbrev(view,true);
 270	</CODE>
 271</ACTION>
 272
 273<ACTION NAME="expand-all-folds">
 274	<CODE>
 275		textArea.getFoldVisibilityManager().expandAllFolds();
 276	</CODE>
 277</ACTION>
 278
 279<ACTION NAME="exit">
 280	<CODE>
 281		jEdit.exit(view,true);
 282	</CODE>
 283</ACTION>
 284
 285<ACTION NAME="expand-fold">
 286	<CODE>
 287		textArea.expandFold(true);
 288	</CODE>
 289</ACTION>
 290
 291<ACTION NAME="expand-one-level">
 292	<CODE>
 293		textArea.expandFold(false);
 294	</CODE>
 295</ACTION>
 296
 297<ACTION NAME="expand-folds" NO_RECORD="TRUE">
 298	<CODE>
 299		view.getInputHandler().readNextChar(
 300			jEdit.getProperty("view.status.expand-folds"),
 301			"textArea.getFoldVisibilityManager().expandFolds(__char__);");
 302	</CODE>
 303</ACTION>
 304
 305<ACTION NAME="find" NO_RECORD="TRUE">
 306	<CODE>
 307		new SearchDialog(view,textArea.getSelectedText(),SearchDialog.CURRENT_BUFFER);
 308	</CODE>
 309</ACTION>
 310
 311<ACTION NAME="find-next" NO_RECORD="TRUE">
 312	<CODE>
 313		SearchAndReplace.setReverseSearch(false);
 314		SearchAndReplace.find(view);
 315	</CODE>
 316</ACTION>
 317
 318<ACTION NAME="find-prev" NO_RECORD="TRUE">
 319	<CODE>
 320		SearchAndReplace.setReverseSearch(true);
 321		SearchAndReplace.find(view);
 322	</CODE>
 323</ACTION>
 324
 325<ACTION NAME="format-paragraph" NO_RECORD="TRUE">
 326	<CODE>
 327		textArea.formatParagraph();
 328	</CODE>
 329</ACTION>
 330
 331<ACTION NAME="global-options">
 332	<CODE>
 333		new OptionsDialog(view);
 334	</CODE>
 335</ACTION>
 336
 337<ACTION NAME="goto-line">
 338	<CODE>
 339		textArea.showGoToLineDialog();
 340	</CODE>
 341</ACTION>
 342
 343<ACTION NAME="goto-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 344	<CODE>
 345		view.getInputHandler().readNextChar(
 346			jEdit.getProperty("view.status.goto-marker"),
 347			"textArea.goToMarker(__char__,false);");
 348	</CODE>
 349</ACTION>
 350
 351<ACTION NAME="help">
 352	<CODE>
 353		new HelpViewer("jeditresource:/doc/welcome.html");
 354	</CODE>
 355</ACTION>
 356
 357<ACTION NAME="home" NO_RECORD="TRUE">
 358	<CODE>
 359		textArea.smartHome(false);
 360	</CODE>
 361</ACTION>
 362
 363<ACTION NAME="hypersearch" NO_RECORD="TRUE">
 364	<CODE>
 365		view.quickHyperSearch(false);
 366	</CODE>
 367</ACTION>
 368
 369<ACTION NAME="hypersearch-word" NO_RECORD="TRUE">
 370	<CODE>
 371		view.quickHyperSearch(true);
 372	</CODE>
 373</ACTION>
 374
 375<ACTION NAME="indent-lines">
 376	<CODE>
 377		textArea.indentSelectedLines();
 378	</CODE>
 379</ACTION>
 380
 381<ACTION NAME="insert-file">
 382	<CODE>
 383		buffer.showInsertFileDialog(view);
 384	</CODE>
 385</ACTION>
 386
 387<ACTION NAME="insert-literal">
 388	<CODE>
 389		view.getInputHandler().readNextChar(
 390			jEdit.getProperty("view.status.insert-literal"),
 391			"textArea.setSelectedText(String.valueOf(__char__));");
 392	</CODE>
 393</ACTION>
 394
 395<ACTION NAME="invert-selection">
 396	<CODE>
 397		textArea.invertSelection();
 398	</CODE>
 399</ACTION>
 400
 401<ACTION NAME="io-progress-monitor">
 402	<CODE>
 403		new IOProgressMonitor(view);
 404	</CODE>
 405</ACTION>
 406
 407<ACTION NAME="join-lines">
 408	<CODE>
 409		textArea.joinLines();
 410	</CODE>
 411</ACTION>
 412
 413<ACTION NAME="line-comment">
 414	<CODE>
 415		textArea.lineComment();
 416	</CODE>
 417</ACTION>
 418
 419<ACTION NAME="match-bracket">
 420	<CODE>
 421		textArea.goToMatchingBracket();
 422	</CODE>
 423</ACTION>
 424
 425<ACTION NAME="memory-status">
 426	<CODE>
 427		jEdit.showMemoryDialog(view);
 428	</CODE>
 429</ACTION>
 430
 431<ACTION NAME="narrow-to-fold">
 432	<CODE>
 433		textArea.narrowToFold();
 434	</CODE>
 435</ACTION>
 436
 437<ACTION NAME="narrow-to-selection">
 438	<CODE>
 439		textArea.narrowToSelection();
 440	</CODE>
 441</ACTION>
 442
 443<ACTION NAME="new-file">
 444	<CODE>
 445		jEdit.newFile(view);
 446	</CODE>
 447</ACTION>
 448
 449<ACTION NAME="new-view">
 450	<CODE>
 451		jEdit.newView(view);
 452	</CODE>
 453</ACTION>
 454
 455<ACTION NAME="next-bracket">
 456	<CODE>
 457		textArea.goToNextBracket(false);
 458	</CODE>
 459</ACTION>
 460
 461<ACTION NAME="next-buffer">
 462	<CODE>
 463		editPane.nextBuffer();
 464	</CODE>
 465</ACTION>
 466
 467<ACTION NAME="next-char">
 468	<CODE>
 469		textArea.goToNextCharacter(false);
 470	</CODE>
 471</ACTION>
 472
 473<ACTION NAME="next-fold">
 474	<CODE>
 475		textArea.goToNextFold(false);
 476	</CODE>
 477</ACTION>
 478
 479<ACTION NAME="next-line">
 480	<CODE>
 481		textArea.goToNextLine(false);
 482	</CODE>
 483</ACTION>
 484
 485<ACTION NAME="next-marker">
 486	<CODE>
 487		textArea.goToNextMarker(false);
 488	</CODE>
 489</ACTION>
 490
 491<ACTION NAME="next-page">
 492	<CODE>
 493		textArea.goToNextPage(false);
 494	</CODE>
 495</ACTION>
 496
 497<ACTION NAME="next-paragraph">
 498	<CODE>
 499		textArea.goToNextParagraph(false);
 500	</CODE>
 501</ACTION>
 502
 503<ACTION NAME="next-textarea">
 504	<CODE>
 505		view.nextTextArea();
 506	</CODE>
 507</ACTION>
 508
 509<ACTION NAME="next-word">
 510	<CODE>
 511		textArea.goToNextWord(false);
 512	</CODE>
 513</ACTION>
 514
 515<ACTION NAME="open-file">
 516	<CODE>
 517		jEdit.showOpenFileDialog(view);
 518	</CODE>
 519</ACTION>
 520
 521<ACTION NAME="overwrite">
 522	<CODE>
 523		textArea.toggleOverwriteEnabled();
 524	</CODE>
 525</ACTION>
 526
 527<ACTION NAME="other-encoding">
 528	<CODE>
 529		jEdit.showOpenFileWithOtherEncodingDialog(view);
 530	</CODE>
 531</ACTION>
 532
 533<ACTION NAME="parent-fold">
 534	<CODE>
 535		textArea.goToParentFold();
 536	</CODE>
 537</ACTION>
 538
 539<ACTION NAME="paste">
 540	<CODE>
 541		Registers.paste(textArea,'$');
 542	</CODE>
 543</ACTION>
 544
 545<ACTION NAME="paste-previous">
 546	<CODE>
 547		new PastePrevious(view);
 548	</CODE>
 549</ACTION>
 550
 551<ACTION NAME="paste-string-register" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 552	<CODE>
 553		view.getInputHandler().readNextChar(
 554			jEdit.getProperty("view.status.paste-string-register"),
 555			"Registers.paste(textArea,__char__);");
 556	</CODE>
 557</ACTION>
 558
 559<ACTION NAME="plugin-manager">
 560	<CODE>
 561		new PluginManager(view);
 562	</CODE>
 563</ACTION>
 564
 565<ACTION NAME="prev-bracket">
 566	<CODE>
 567		textArea.goToPrevBracket(false);
 568	</CODE>
 569</ACTION>
 570
 571<ACTION NAME="prev-buffer">
 572	<CODE>
 573		editPane.prevBuffer();
 574	</CODE>
 575</ACTION>
 576
 577<ACTION NAME="prev-char">
 578	<CODE>
 579		textArea.goToPrevCharacter(false);
 580	</CODE>
 581</ACTION>
 582
 583<ACTION NAME="prev-fold">
 584	<CODE>
 585		textArea.goToPrevFold(false);
 586	</CODE>
 587</ACTION>
 588
 589<ACTION NAME="prev-line">
 590	<CODE>
 591		textArea.goToPrevLine(false);
 592	</CODE>
 593</ACTION>
 594
 595<ACTION NAME="prev-marker">
 596	<CODE>
 597		textArea.goToPrevMarker(false);
 598	</CODE>
 599</ACTION>
 600
 601<ACTION NAME="prev-page">
 602	<CODE>
 603		textArea.goToPrevPage(false);
 604	</CODE>
 605</ACTION>
 606
 607<ACTION NAME="prev-paragraph">
 608	<CODE>
 609		textArea.goToPrevParagraph(false);
 610	</CODE>
 611</ACTION>
 612
 613<ACTION NAME="prev-textarea">
 614	<CODE>
 615		view.prevTextArea();
 616	</CODE>
 617</ACTION>
 618
 619<ACTION NAME="prev-word">
 620	<CODE>
 621		textArea.goToPrevWord(false);
 622	</CODE>
 623</ACTION>
 624
 625<ACTION NAME="print">
 626	<CODE>
 627		buffer.print(view);
 628	</CODE>
 629</ACTION>
 630
 631<ACTION NAME="quick-search" NO_RECORD="TRUE">
 632	<CODE>
 633		view.quickIncrementalSearch(false);
 634	</CODE>
 635</ACTION>
 636
 637<ACTION NAME="quick-search-word" NO_RECORD="TRUE">
 638	<CODE>
 639		view.quickIncrementalSearch(true);
 640	</CODE>
 641</ACTION>
 642
 643<ACTION NAME="range-comment">
 644	<CODE>
 645		textArea.rangeComment();
 646	</CODE>
 647</ACTION>
 648
 649<ACTION NAME="record-macro" NO_RECORD="TRUE">
 650	<CODE>
 651		Macros.recordMacro(view);
 652	</CODE>
 653</ACTION>
 654
 655<ACTION NAME="record-temp-macro" NO_RECORD="TRUE">
 656	<CODE>
 657		Macros.recordTemporaryMacro(view);
 658	</CODE>
 659</ACTION>
 660
 661<ACTION NAME="recent-buffer">
 662	<CODE>
 663		view.getEditPane().recentBuffer();
 664	</CODE>
 665</ACTION>
 666
 667<ACTION NAME="redo">
 668	<CODE>
 669		buffer.redo(textArea);
 670	</CODE>
 671</ACTION>
 672
 673<ACTION NAME="reload">
 674	<CODE>
 675		buffer.reload(view);
 676	</CODE>
 677</ACTION>
 678
 679<ACTION NAME="reload-all">
 680	<CODE>
 681		jEdit.reloadAllBuffers(view,true);
 682	</CODE>
 683</ACTION>
 684
 685<ACTION NAME="reload-modes">
 686	<CODE>
 687		jEdit.reloadModes();
 688	</CODE>
 689</ACTION>
 690
 691<ACTION NAME="remove-all-markers">
 692	<CODE>
 693		buffer.removeAllMarkers();
 694	</CODE>
 695</ACTION>
 696
 697<ACTION NAME="remove-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 698	<CODE>
 699		buffer.removeMarker(textArea.getCaretLine());
 700	</CODE>
 701</ACTION>
 702
 703<ACTION NAME="remove-trailing-ws">
 704	<CODE>
 705		textArea.removeTrailingWhiteSpace();
 706	</CODE>
 707</ACTION>
 708
 709<ACTION NAME="replace-all" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 710	<CODE>
 711		SearchAndReplace.replaceAll(view);
 712	</CODE>
 713</ACTION>
 714
 715<ACTION NAME="replace-and-find-next" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 716	<CODE>
 717		if(SearchAndReplace.replace(view))
 718			SearchAndReplace.find(view);
 719	</CODE>
 720</ACTION>
 721
 722<ACTION NAME="replace-in-selection" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 723	<CODE>
 724		SearchAndReplace.replace(view);
 725	</CODE>
 726</ACTION>
 727
 728<ACTION NAME="repeat" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 729	<CODE>
 730		view.getInputHandler().setRepeatEnabled(true);
 731	</CODE>
 732</ACTION>
 733
 734<ACTION NAME="rescan-macros">
 735	<CODE>
 736		Macros.loadMacros();
 737	</CODE>
 738</ACTION>
 739
 740<ACTION NAME="run-last-macro" NO_RECORD="TRUE">
 741	<CODE>
 742		Macros.runLastMacro(view);
 743	</CODE>
 744</ACTION>
 745
 746<ACTION NAME="run-other-macro">
 747	<CODE>
 748		BeanShell.showRunScriptDialog(view);
 749	</CODE>
 750</ACTION>
 751
 752<ACTION NAME="run-temp-macro" NO_RECORD="TRUE">
 753	<CODE>
 754		Macros.runTemporaryMacro(view);
 755	</CODE>
 756</ACTION>
 757
 758<ACTION NAME="save">
 759	<CODE>
 760		buffer.save(view,null,true);
 761	</CODE>
 762</ACTION>
 763
 764<ACTION NAME="save-all">
 765	<CODE>
 766		jEdit.saveAllBuffers(view,true);
 767	</CODE>
 768</ACTION>
 769
 770<ACTION NAME="save-as">
 771	<CODE>
 772		buffer.saveAs(view,true);
 773	</CODE>
 774</ACTION>
 775
 776<ACTION NAME="save-a-copy-as">
 777	<CODE>
 778		buffer.saveAs(view,false);
 779	</CODE>
 780</ACTION>
 781
 782<ACTION NAME="scroll-down-line">
 783	<CODE>
 784		textArea.scrollDownLine();
 785	</CODE>
 786</ACTION>
 787
 788<ACTION NAME="scroll-down-page">
 789	<CODE>
 790		textArea.scrollDownPage();
 791	</CODE>
 792</ACTION>
 793
 794<ACTION NAME="scroll-to-current-line">
 795	<CODE>
 796		textArea.scrollToCaret(true);
 797	</CODE>
 798</ACTION>
 799
 800<ACTION NAME="scroll-up-line">
 801	<CODE>
 802		textArea.scrollUpLine();
 803	</CODE>
 804</ACTION>
 805
 806<ACTION NAME="scroll-up-page">
 807	<CODE>
 808		textArea.scrollUpPage();
 809	</CODE>
 810</ACTION>
 811
 812<ACTION NAME="search-in-open-buffers" NO_RECORD="TRUE">
 813	<CODE>
 814		new SearchDialog(view,textArea.getSelectedText(),
 815			SearchDialog.ALL_BUFFERS);
 816	</CODE>
 817</ACTION>
 818
 819<ACTION NAME="search-in-directory" NO_RECORD="TRUE">
 820	<CODE>
 821		new SearchDialog(view,textArea.getSelectedText(),
 822			SearchDialog.DIRECTORY);
 823	</CODE>
 824</ACTION>
 825
 826<ACTION NAME="select-all">
 827	<CODE>
 828		textArea.selectAll();
 829	</CODE>
 830</ACTION>
 831
 832<ACTION NAME="select-block">
 833	<CODE>
 834		textArea.selectBlock();
 835	</CODE>
 836</ACTION>
 837
 838<ACTION NAME="select-fold">
 839	<CODE>
 840		textArea.selectFold();
 841	</CODE>
 842</ACTION>
 843
 844<ACTION NAME="select-home" NO_RECORD="TRUE">
 845	<CODE>
 846		textArea.smartHome(true);
 847	</CODE>
 848</ACTION>
 849
 850<ACTION NAME="select-end" NO_RECORD="TRUE">
 851	<CODE>
 852		textArea.smartEnd(true);
 853	</CODE>
 854</ACTION>
 855
 856<ACTION NAME="select-line">
 857	<CODE>
 858		textArea.selectLine();
 859	</CODE>
 860</ACTION>
 861
 862<ACTION NAME="select-line-range">
 863	<CODE>
 864		textArea.showSelectLineRangeDialog();
 865	</CODE>
 866</ACTION>
 867
 868<ACTION NAME="select-paragraph">
 869	<CODE>
 870		textArea.selectParagraph();
 871	</CODE>
 872</ACTION>
 873
 874<ACTION NAME="select-word">
 875	<CODE>
 876		textArea.selectWord();
 877	</CODE>
 878</ACTION>
 879
 880<ACTION NAME="select-document-end">
 881	<CODE>
 882		textArea.goToBufferEnd(true);
 883	</CODE>
 884</ACTION>
 885
 886<ACTION NAME="select-document-home">
 887	<CODE>
 888		textArea.goToBufferStart(true);
 889	</CODE>
 890</ACTION>
 891
 892<ACTION NAME="select-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
 893	<CODE>
 894		view.getInputHandler().readNextChar(
 895			jEdit.getProperty("view.status.select-marker"),
 896			"textArea.goToMarker(__char__,true);");
 897	</CODE>
 898</ACTION>
 899
 900<ACTION NAME="select-next-bracket">
 901	<CODE>
 902		textArea.goToNextBracket(true);
 903	</CODE>
 904</ACTION>
 905
 906<ACTION NAME="select-next-char">
 907	<CODE>
 908		textArea.goToNextCharacter(true);
 909	</CODE>
 910</ACTION>
 911
 912<ACTION NAME="select-next-line">
 913	<CODE>
 914		textArea.goToNextLine(true);
 915	</CODE>
 916</ACTION>
 917
 918<ACTION NAME="select-next-marker">
 919	<CODE>
 920		textArea.goToNextMarker(true);
 921	</CODE>
 922</ACTION>
 923
 924<ACTION NAME="select-next-page">
 925	<CODE>
 926		textArea.goToNextPage(true);
 927	</CODE>
 928</ACTION>
 929
 930<ACTION NAME="select-next-paragraph">
 931	<CODE>
 932		textArea.goToNextParagraph(true);
 933	</CODE>
 934</ACTION>
 935
 936<ACTION NAME="select-next-word">
 937	<CODE>
 938		textArea.goToNextWord(true);
 939	</CODE>
 940</ACTION>
 941
 942<ACTION NAME="select-none">
 943	<CODE>
 944		textArea.removeFromSelection(textArea.getCaretPosition());
 945	</CODE>
 946</ACTION>
 947
 948<ACTION NAME="select-prev-bracket">
 949	<CODE>
 950		textArea.goToPrevBracket(true);
 951	</CODE>
 952</ACTION>
 953
 954<ACTION NAME="select-prev-char">
 955	<CODE>
 956		textArea.goToPrevCharacter(true);
 957	</CODE>
 958</ACTION>
 959
 960<ACTION NAME="select-prev-line">
 961	<CODE>
 962		textArea.goToPrevLine(true);
 963	</CODE>
 964</ACTION>
 965
 966<ACTION NAME="select-prev-marker">
 967	<CODE>
 968		textArea.goToPrevMarker(true);
 969	</CODE>
 970</ACTION>
 971
 972<ACTION NAME="select-prev-page">
 973	<CODE>
 974		textArea.goToPrevPage(true);
 975	</CODE>
 976</ACTION>
 977
 978<ACTION NAME="select-prev-paragraph">
 979	<CODE>
 980		textArea.goToPrevParagraph(true);
 981	</CODE>
 982</ACTION>
 983
 984<ACTION NAME="select-prev-word">
 985	<CODE>
 986		textArea.goToPrevWord(true);
 987	</CODE>
 988</ACTION>
 989
 990<ACTION NAME="shift-left">
 991	<CODE>
 992		textArea.shiftIndentLeft();
 993	</CODE>
 994</ACTION>
 995
 996<ACTION NAME="shift-right">
 997	<CODE>
 998		textArea.shiftIndentRight();
 999	</CODE>
1000</ACTION>
1001
1002<ACTION NAME="spaces-to-tabs">
1003	<CODE>
1004		textArea.spacesToTabs();
1005	</CODE>
1006</ACTION>
1007
1008<ACTION NAME="split-horizontal">
1009	<CODE>
1010		view.splitHorizontally();
1011	</CODE>
1012</ACTION>
1013
1014<ACTION NAME="split-vertical">
1015	<CODE>
1016		view.splitVertically();
1017	</CODE>
1018</ACTION>
1019
1020<ACTION NAME="stop-recording" NO_RECORD="TRUE">
1021	<CODE>
1022		Macros.stopRecording(view);
1023	</CODE>
1024</ACTION>
1025
1026<ACTION NAME="swap-marker" NO_REPEAT="TRUE" NO_RECORD="TRUE">
1027	<CODE>
1028		view.getInputHandler().readNextChar(
1029			jEdit.getProperty("view.status.swap-marker"),
1030			"textArea.swapMarkerAndCaret(__char__);");
1031	</CODE>
1032</ACTION>
1033
1034<ACTION NAME="tabs-to-spaces">
1035	<CODE>
1036		textArea.tabsToSpaces();
1037	</CODE>
1038</ACTION>
1039
1040<ACTION NAME="tip-of-the-day">
1041	<CODE>
1042		new TipOfTheDay(view);
1043	</CODE>
1044</ACTION>
1045
1046<ACTION NAME="to-lower">
1047	<CODE>
1048		textArea.toLowerCase();
1049	</CODE>
1050</ACTION>
1051
1052<ACTION NAME="to-upper">
1053	<CODE>
1054		textArea.toUpperCase();
1055	</CODE>
1056</ACTION>
1057
1058<ACTION NAME="toggle-line-numbers">
1059	<CODE>
1060		textArea.getGutter().toggleExpanded();
1061	</CODE>
1062	<IS_SELECTED>
1063		return textArea.getGutter().isExpanded();
1064	</IS_SELECTED>
1065</ACTION>
1066
1067<ACTION NAME="toggle-multi-select">
1068	<CODE>
1069		textArea.toggleMultipleSelectionEnabled();
1070	</CODE>
1071</ACTION>
1072
1073<ACTION NAME="toggle-synchro-scroll">
1074	<CODE>
1075		view.toggleSynchroScrollEnabled();
1076	</CODE>
1077	<IS_SELECTED>
1078		return view.isSynchroScrollEnabled();
1079	</IS_SELECTED>
1080</ACTION>
1081
1082<ACTION NAME="update-log">
1083	<CODE>
1084		Log.flushStream();
1085	</CODE>
1086</ACTION>
1087
1088<ACTION NAME="undo">
1089	<CODE>
1090		buffer.undo(textArea);
1091	</CODE>
1092</ACTION>
1093
1094<ACTION NAME="unsplit">
1095	<CODE>
1096		view.unsplit();
1097	</CODE>
1098</ACTION>
1099
1100<ACTION NAME="view-registers">
1101	<CODE>
1102		new ViewRegisters(view);
1103	</CODE>
1104</ACTION>
1105
1106<ACTION NAME="word-count">
1107	<CODE>
1108		textArea.showWordCountDialog();
1109	</CODE>
1110</ACTION>
1111
1112</ACTIONS>