This is the LGPL release for an editor I wrote to edit source code. I got
tired of leaving my favorite editor when I developed on non-Windows systems, so
I took my favorite features from other editors and built this one. The jar file
contains an application. To run it, use the command:
java -cp vid.jar ViD
I recommend using JDK1.3.1 for full functionality (including drag-and-drop
support). The software is still in Beta mode. There is a lot of application
boiler plate as well as optimizing that I need to add. There are still some
features missing as well.
ViD is released under the Lesser Gnu Public License. More information can be found
Notes on applet interaction
It seems that applets do not allow access to the system clipboard. This means
that cut, copy, paste, and drag-and-drop, features will not work in the applet.
Left mouse click positions the cursor.
Left mouse drag selects text.
Left mouse double click selects the word at the cursor position.
Left mouse drag while holding CONTROL selects words.
Left mouse double click and drag selects words.
Left mouse drag while holding ALT selects a column based block of text.
Left mouse click while holding ALT extends the selection of a column based block of text.
Left mouse click or drag in left edit bar selects lines of text.
Dragging to the edge of the screen scrolls the screen.
Selected text can be dragged and dropped between windows and other applications.
The APPLICATION version only supports drag and drop of files to edit the files.
Text windows can be split using the split bars at the left and top of the scrollbars.
LEFT moves cursor left one character.
CTRL-LEFT moves cursor left one word.
CTRL-ALT-LEFT moves cursor left one sentence.
ALT-LEFT scrolls window left one character.
SHIFT-LEFT extends selection left one character.
CTRL-SHIFT-LEFT extends selection right one character.
HOME Moves cursor to start or first non-whitespace character of line
ALT-HOME Moves cursor to the left hand edge of the screen.
CTRL-HOME Moves cursor to the start of the file.
CTRL-ALT-HOME Each time moves to the next home level (line, screen, file)
SHIFT-HOME Extends the selection to the beginning of the line
CTRL-SHIFT-HOME Extends the selection to the beginning of the file.
CTRL-BACK_QUOTE Moves to the next indention level
CTRL-SHIFT-BACK_QUOTE Swaps the beginning and end of the current selection
RIGHT moves cursor right one character.
CTRL-RIGHT moves cursor right one word.
CTRL-ALT-RIGHT moves cursor right one sentence.
ALT-RIGHT scrolls window right one character.
SHIFT-RIGHT extends selection right one character.
CTRL-SHIFT-RIGHT extends selection right one character.
END Moves the cursor to the end of the line
ALT-END Moves cursor to the right hand edge of the screen.
CTRL-END Moves cursor to the end of the file.
CTRL-ALT-END Each time moves to the next end level (line, screen, file)
CTRL-SHIFT-END Extends the selection to the end of the file.
SHIFT-END Extends the selection to the end of the line
UP Moves the cursor up one line
CTRL-UP Moves the cursor to the previous paragraph.
ALT-UP Scrolls the window up one line.
SHIFT-UP Extends the selection up one line
PAGE_UP Moves the cursor up one page
ALT-PAGE_UP Moves the cursor to the beginning of the screen.
CTRL-PAGE_UP Scrolls the page so that the cursor is on the bottom.
SHIFT-PAGE_UP Extends the selection up one page.
DOWN Moves the cursor down one line
CTRL-DOWN Moves the cursor to the next paragraph.
ALT-DOWN Scrolls the window down one line.
SHIFT-DOWN Extends the selection down one line.
PAGE_DOWN Moves the cursor down one page
ALT-PAGE_DOWN Moves the cursor to the end of the screen.
CTRL-PAGE_DOWN Scrolls the page so that the cursor is on the top.
SHIFT-PAGE_DOWN Extends the selection down one page.
CTRL-PERIOD Scrolls the window so the cursor is in the center.
INSERT Toggles insert and overwrite mode.
CTRL-SHIFT-BACK_SLASH Selects the current paragraph
CTRL-SHIFT-8 Toggles if symbols are shown for whitespace characters
CTRL-A Selects the entire file
CTRL-U Makes the selection lowercase.
CTRL-SHIFT-U Makes the selection uppercase.
ALT-U Toggles the case of the selection.
CTRL-C Copies the current selection to the clipboard
CTRL-V Pastes text from the clipboard to the current position.
CTRL-X Deletes selection from editor and puts it on the clipboard.
CTRL-Y Redoes the last undone command
CTRL-Z Undoes the last command
ESCAPE Clears the selection.
DELETE Deletes the character to the right of the cursor.
CTRL-DELETE Deletes the characters between the cursor and the end of the current word.
BACK_SPACE Deletes the character to the left of the cursor.
CTRL-BACK_SPACE Deletes the characters between the cursor and the start of the current word.
TAB Indents the current selection one tab stop
SHIFT-TAB Unindents the current selection one tab stop
CTRL-F Opens the find dialog
ALT-F3 Opens the find dialog
F3 Finds the next occurence of the current search item
SHIFT-F3 Finds the previous occurence of the current search item
CTRL-F3 Finds the next instance of the selected text.
CTRL-SHIFT-F3 Finds the previous instance of the selected text.
Perl5 style regular expression search
vi emulation (this is a low priority - if you think you my use the editor if it acts like vi let me know and I will make it a higher priority)
Comments and Bugs
Please send bugs to me at firstname.lastname@example.org. I have a unit test suite using
JUnit, but I know that there are holes. Any bugs will be entered into the suite
to ensure proper elimination. In addition, if you like or dislike anything about the application, let me know. I
love to get helpful feedback.