Edit Menu


# Overview #

         The Edit menu contains all the features specific to editing text. It contains basic text editing options (cut, copy, paste...) as well as advanced ones (expand abbreviation...).


# Contents #

  • Undo:  Undoes the last editing action. For example, if you paste in the string "Hello World!", clicking Undo will remove it.
  • Redo:  Redoes last Undo operation.
  • Copy:  Copies the selected text from the text area to the system clipboard.
  • Cut:  Cuts (i.e copies then removes) the selected text to system clipboard.
  • Paste:  Inserts the contents of system clipboard into the text area at the caret position.
  • Select All:  Selects all the text.
  • Anchor: 
    • Set Anchor:  Drops anchor at the caret position. Note that this anchor is relative to the text and NOT to the position. For instance, if you drop anchor in front of the word "Duke" at line 11, then delete the ten first lines, the anchor will still be in front of the word "Duke."
    • Goto Anchor:  Places the caret at the anchor position. If the anchor hasn't been dropped (or set) yet, nothing happens. Read the explanation of the Set Anchor menu item carefully to understand why an anchor is so useful.
    • Exchange Caret/Anchor:  Substitutes the caret with the anchor and vice versa. This means your caret is placed at the anchor position (as Goto Anchor does) and that the anchor is dropped at the caret's former position. In other words, they swap locations.
    • Select To Anchor:  Selects text from the caret to the anchor, placing the caret at the anchor position.
    • Select From Anchor:  Selects text from the anchor to the caret, leaving the caret in its current position.
  • Source Code: 
    • Block Right Indent:  Indents the selected block of text to the right. The amount of indent is controlled by the tab size option.
    • Block Left Indent:  Does exactly the same as Block Right Indent, but to the left.
    • Box Comment:  Encloses selected text in a box comment. Comment characters depends on selected syntax colorizing mode. In Java, C or C++ a box comment adds /* at the beginning of the block, */ at the end and * at the beginning of each line.
    • Comment:  Adds a single comment at the beginning of each selected line. In Java, C or C++ syntax colorizing mode, each line will begin with //. Comment characters depends on current selected syntax colorizing mode.
    • Wing Comment:  Encloses selected text in a wing comment. Comment characters depends on current selected syntax colorizing mode. For instance, Java, C and C++ modes will add /* at the beginning of the block and */ at its end.
  • Text: 
    • Tabs To Spaces:  Converts all tab characters contained in your text into equivalent amount of white spaces.
    • Spaces To Tabs:  If possible, converts white spaces into tab characters. For example, if you set Tab Size on 8, each sequence of 8 white spaces will be converted into a single tab character.
    • Begin Lines With:  Displays an input dialog in which you have to enter some text. Then, Jext will add this text at the beginning of each selected line.
    • End Lines With:  Displays an input dialog which prompts for text to be added to the end of each selected line.
    • To Upper Case:  Turns each lower-cased character of selected text in its upper-case equivalent.
    • To Lower Case:  Turns each upper-cased character of selected text in its lower-case equivalent.
    • Sort Lines:  Sorts selected lines according to alphabetical order (using first non-blank characters of each line).
    • Reverse Sort Lines:  Sorts selected lines according to alphabetical order (using first non-blank characters of each line), reversed.
    • Join Lines:  Joins the line on which caret is placed with next one. If next line begins with more than one blank character, those characters are removed.
    • Join All Lines:  Joins all lines contained in your text into a single one. This can greatly save space for Web pages (and in this way bandwidth and download times). However, it makes future edits more difficult.
    • Remove End Spaces:  Removes all white space and tab characters which can be found at the end of each line of text. As with Join All Lines, using this feature can save some loading time for Web pages.
    • Complete Word:  Tries to expand the current word. For instance, if you have already typed "thisIsAnotherVariable", it can be exhausting to retype it each time you need to use it, right? Instead, just begin to type it (type: "thisIsA", for example) and fire Expand Abbreviation action [Ctrl-e, Ctrl-e]. Jext will auto-complete "thisIsA" to write the complete word for you!
    • Word Count:  Displays a dialog which summarizes information about the currently open document: the number of lines, characters, words and, for programmers only, real-code lines (this excludes blank and commented lines).
  • Goto Line:  Displays an input dialog box which prompts for a line number. When Ok is clicked, Jext places the caret at the beginning of the specified line, if it exists.
  • Delete Line:  Deletes the line on which caret is placed.
  • Date/Time:  Inserts the current date and time in your text at the caret position.
  • Options:  Displays the Jext options dialog. See the Options section for more information.

Previous  |  Index  |  Next  ]


by Romain Guy
Last update: 12/27/99
Generated by Gaïa v1.4