|
Recent Changes |
new "quick find" function
- A new, additional, find function has been implemented that provides easy and fast find capabilities for most searches. See the Quick Find section of the tutorial.
bug fixes
- Some small bugs have been fixed.
Auto scrolling
- Auto scrolling was added. When a selection is dragged past the top or bottom of the screen, the buffer scrolls automatically.
Second paste buffer
- A second paste buffer was added. Red now supports both the X Windows style (pasting without cut/copy) and the MacOS/Windows style (cut/copy operations). Read the details in Cut, Copy and Paste. In short: Text can still be selected and pasted without an additional copy operation using the primary paste buffer, or it can be stored for later use (including pasting over selections) using the secondary paste buffer.
manual update
- The Red online manual (which you are reading now) has been updated and missing functions have been added.
line number display
- The current cursor line number can now be permanently displayed. The display is in the lower right corner (together with the saved/changed label). The display can be switches on and off in the preferences dialog.
Special character keys
- A bug has been fixed that prevented special (non-ASCII) keys to be entered from non-englisch keyboards. Special keys (such as umlauts - ö, ä, etc.) can now be entered directly from the keyboard (if present on the keyboard).
Num lock fix
- A bug with reading the num lock key has been fixed. The effect was that most keys did not work while num lock was on. This bug was only present since version 1.1.5.
new-line-and-indent
- The new-line-and-indent function has been changed so that it does not indent the next line if the present line is not indented. This is more practical in normal use. new-line-and-indent can be bound to the return key to get auto-indentation.
toolbar fix
- An error has been fixed that caused the toolbar to be partly displayed on startup when the "Show Toolbar" option was off.
Modifier key behaviour changed
- The modifier key recognition has been changed. All modifier keys apart from "Shift" and "Control" are now read as the "Alt" key. That means that on keyboards with other modifier keys (such as "Meta") those keys may be used instead of the "Alt" key.
Improved web browser communication
- When red opens a web browser to display its manual (item "Manual..." in the "Help" menu), it now checks whether netscape is already running, and, if so, displays the manual in the running netscape instance, rather than starting a second netscape incarnation.
Bug fix: X Error of failed request: BadDrawable
- Sometimes, when red was started from the command line with a file parameter, it exited with the error message X Error of failed request: BadDrawable. This problem has been fixed.
new functions "comment" and "uncomment"
- The "comment" and "uncomment" functions are block functions that can insert and remove comment symbols for the current line or the current selection. The comment symbol is defined in the preferences dialog box.
bug fix
Blue functions added
- Some functions have been added especially for use of Red within the Blue programming environment. They support writing of Blue code and are probably not interesting for people not writing Blue. blue-new-routine (Ctrl-r): when typed after a name, expands that name to a full skeleton for a routine with that name. blue-expand (Ctrl-e): when typed after the word "if", "loop" or "case", expands that control structure to a full skeleton. next-flag (Ctrl-Tab): jump to next flag. Flags are used in routine and control structure skeletons to mark insertion points.
end of test
- Some internal changes. End of test phase. Version 1 release.
new functions
- select-all (Alt-a): select the whole buffer
insert-file (Alt-q): insert a file into buffer. The file may be quoted. If it is, a quote string will be used, which can be defined in the preferences dialog.
Bug fix: menu short cuts
- The short cuts shown in the menus are not static any more. If the key binding is changed for a function that appears in a menu, the shortcut shown in the menu will be updated (at restart) to display the correct binding.
"Changed" icon
- The appearence of the icon has been changed for buffers that have been edited and not saved. This may avoid errors that result from compiling old versions of a file by trying to make more obvious if an (iconified) buffer needs saving.
"Revert" changed to "Reload"
- The name of the "Revert" function has been changed to "reload" and the functionality has been slightly changed: The "Reload" function will now always reload the file from disk and does not attempt any more to prevent unnecessary reloads.
New function "Open Selection"
- "open-selection" lets you select a name of a file in a text and open the file that you selected. You can, for instance, select the name of an include file and open that file using "Open Selection". The name must be a complete path from the current file's directory - in other words: if you select a pure file name (without a path) it will only work if that file is in the same directory as the file you are currently working on.
As a special bonus: This function also works if the selection is in another application. This means that you can, for example, have a directory listing in an xterm, select one of the file names in the xterm window, and use "Open Selection" to open that file (again, subject to that file being in the right directory).
Automatic conversion of DOS files
- A new item has been added to the "preferences" settings: conversion from DOS files. When on, and a file is loaded that is found to be in DOS format (lines are ended with CR/LF rather than the Unix standard LF only), the CR is automatically stripped from the file.
Bug fixes
Bug fix
- A small bug in new-line-and-indent has been fixed. You can now type "shift-return" a few times in a row, and the cursor remains in the right column.
New User Functions
- Four new user functions were introduced:
backward-delete-untabPlease see also Improved key bindings.
half-tab
shift-left
shift-right
Changed key bindings
- The default key bindings for cut and paste have been changed. cut is now on Alt-X, paste is on Alt-V.
Add Newline
- The preferences box ("Preferences" from the "Options" menu) contains a new option: Always end file with Newline character. If this option is on, Red adds a newline character at the end of a file if it does not have one already.
show-line-number
- The function what-line has been renamed show-line-number.
Bug fixes.
New in menus:
- The functions goto-line and what-line are now in the "Tools" menu (and still on the keys F5 and F6 as before).
Bug fix:
- A newline symbol can now be inserted into the replace pattern in the replace dialog.
directories
- The file selection dialog (used in open and save-as) now starts in the directory of the current file.
To explain the use of this, one example: If you have multiple files open that are in different directories, you can more easily open a file if you click the open button in a window of a file that is "close" to the one you want to open. The file selection will start in the directory where that file is stored.
next-line
- next-line (arrow down) now adds new lines to the buffer when called at the end of the text. This provides more convenient editing.
Bug fixes.
custom key bindings
- The key bindings can now be changed. This allows you to adapt the key bindings to your personal preferences. You can make any key call any function. You can, for instance, put a function that you use frequently on a function key.
To change the key bindings, choose "Key bindings..." from the Options menu, choose a function from the list, and use the "Add Key" and "Delete Key" buttons. The bindings that you define are automatically saved and used in future sessions.
For further details, see Key Bindings in the customisation chapter (which will soon be written).
saving preferences
- The preferences set in the preferences dialog (Option menu) are saved and thus kept over sessions. So if, for instance, beeping with warnings annoys you, now you can switch it off once and for all.
indent
- Shift-Tab now calls a new function indent. This indents to the next word in the line above. (If you find indent more useful than Tab, you can redefine the Tab key to call "indent", and shift-Tab to call "tab-to-tab-stop". See custom key bindings above.)
new-line-and-indent
- Shift-Return now calls a new function new-line-and-indent.
cut-to-end-of-line
- The behaviour of cut-to-end-of-line has been slightly changed: If the cursor is at the end of a line, then this function cuts the line break. This is much more practical, since it allows several consecutive lines to be cut with this function.
function keys and caps lock
- Function keys did not work when caps lock was pressed. This is fixed now.
message of the day
- A message can be displayed now in the information area on startup. This allows me to inform users of new developments.
open
- When choosing open in an editor window with an empty, unused buffer (such as right after starting Red without a filename), the current editor window is used to display the file, rather than a new one being opened.
open_line
- A new funcion open_line has been added (Ctrl-o) that inserts a new line but leaves the cursor on the current line.
access rights
- Up to now, Red could change the access rights of a file when edited. Since the original file gets renamed to become a backup file (by default, which can be switched off) the edited file is actually a new file. Up to now, it received your default access rights for new files. Now it will keep the same access rights as the original before editing.
Bug fixes.
Copy/Paste
- Copy/Paste communication with other X Windows applications implemented. Text can now be copied from or pasted to windows of other applications.
Tab
- "Tab" button added in Find-dialog to search for TAB characters.
Hide toolbar
- Hide toolbar implemented (in preferences dialog).
save
- "save" functionality changed: if save is called twice back-to-back the file is saved even if there were no changes.
Double-click/triple-click
- Double-click and triple-click implemented (select-word, select-line). See Using the mouse for further details.
redisplay
- "redisplay" is on Alt-L now.
select-word/select-line
- Ctrl-w calls select-word, Ctrl-l calls select-line.
Manual...
- In "Help" menu: Item "Manual..." implemented (displays this manual).