-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
changes.txt
35 lines (22 loc) · 2.45 KB
/
changes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Changes from Acme behaviour and reason behind the difference:
CHANGE: word-by-word and line-by-line selection, backspace and del not extending an existing selection by one character
REASON: slightly more complex code makes yacco more aligned with the behaviour of modern text editor rather than Smalltalk 80. I also find many of those changes more ergonomic
CHANGE: configurability
REASON: people expect some amount of configurability, rather than reading a configuration file yacco collects all configuration options inside the "config" submodule to make patching easier.
No configuration file is read.
CHANGE: ctrl+left_click is equivalent to middle_click, alt+left_click is equivalent to right_click
REASON: an abundance of pointing devices curently available lacks a middle button (or has a scroll wheel that acts as one but is uncomfortable to use), some pointing devices don't even have a right button. Therefore a generic way to supplement them is needed
CHANGE: removed commands: Font, Indent, Tab
REASON: All this commands have been replaced by external commands that use the extensions to the filesystem interface
CHANGE: removed command: Incl
REASON: No special code for the C language is implemented, rules for things similar to the Incl mechanism can be added to the plumb configuration
CHANGE: removed command: Local
REASON: The command is related to plan 9 namespaces that don't exist in unix. The new command Setenv to set environment variables is provided
CHANGE: the escape key does nothing, return in the tag selects everything past the | character and executes it
REASON: selecting through escape is unusual, anyway escape can be bound to anything the user might want through the shortcut configuration file. Return in the tag would otherwise be useless
CHANGE: In the edit language #w<number> selects word-by-word
CHANGE: unlimited Undo and Redo
CHANGE: added LookFile command to do incremental search of files to open
CHANGE: Edit's s command will replace all occourences of the regular expression unless given an integer parameter specifying which one to change. The 'g' flag is accepted but does nothing.
CHANGE: Edit's g command will only evaluate its argument when the regexp matches the entire region. The original behaviour can be obtained prefixing and suffixing the regexp with .*. The reverse would be hard.
CHANGE: In the regexp langauge ^ will match the first non-whitespace character on a line (where whitespace = "space or tab"). Use ^^ for the first character.