acme: reverse logic of autoindent and bart flags
This commit is contained in:
parent
e64c35c9c5
commit
1a81435197
28
acme.diff
28
acme.diff
|
@ -1,8 +1,30 @@
|
||||||
diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c
|
diff --git a/src/cmd/acme/acme.c b/src/cmd/acme/acme.c
|
||||||
index e5658a4e..2c79b387 100644
|
index e5658a4e..a3ea874a 100644
|
||||||
--- a/src/cmd/acme/acme.c
|
--- a/src/cmd/acme/acme.c
|
||||||
+++ b/src/cmd/acme/acme.c
|
+++ b/src/cmd/acme/acme.c
|
||||||
@@ -1034,6 +1034,13 @@ Cursor2 boxcursor2 = {
|
@@ -69,6 +69,8 @@ threadmain(int argc, char *argv[])
|
||||||
|
rfork(RFENVG|RFNAMEG);
|
||||||
|
|
||||||
|
ncol = -1;
|
||||||
|
+ globalautoindent = TRUE;
|
||||||
|
+ bartflag = TRUE;
|
||||||
|
|
||||||
|
loadfile = nil;
|
||||||
|
ARGBEGIN{
|
||||||
|
@@ -78,10 +80,10 @@ threadmain(int argc, char *argv[])
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'a':
|
||||||
|
- globalautoindent = TRUE;
|
||||||
|
+ globalautoindent = FALSE;
|
||||||
|
break;
|
||||||
|
case 'b':
|
||||||
|
- bartflag = TRUE;
|
||||||
|
+ bartflag = FALSE;
|
||||||
|
break;
|
||||||
|
case 'c':
|
||||||
|
p = ARGF();
|
||||||
|
@@ -1034,6 +1036,13 @@ Cursor2 boxcursor2 = {
|
||||||
0x00, 0x00, 0x00, 0x00}
|
0x00, 0x00, 0x00, 0x00}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,7 +38,7 @@ index e5658a4e..2c79b387 100644
|
||||||
void
|
void
|
||||||
iconinit(void)
|
iconinit(void)
|
||||||
{
|
{
|
||||||
@@ -1041,19 +1048,17 @@ iconinit(void)
|
@@ -1041,19 +1050,17 @@ iconinit(void)
|
||||||
Image *tmp;
|
Image *tmp;
|
||||||
|
|
||||||
if(tagcols[BACK] == nil) {
|
if(tagcols[BACK] == nil) {
|
||||||
|
|
1
acme.txt
1
acme.txt
|
@ -2,6 +2,7 @@ Changes to acme
|
||||||
===============
|
===============
|
||||||
|
|
||||||
- changed color scheme to dark background and light text
|
- changed color scheme to dark background and light text
|
||||||
|
- reversed the logic of the globalautoindent and bart flags
|
||||||
- changed keyboard shortcuts:
|
- changed keyboard shortcuts:
|
||||||
- Down and Up now move the cursor to the end of the line below/above
|
- Down and Up now move the cursor to the end of the line below/above
|
||||||
- If you scroll more than 10 lines at a time, the cursor moves along
|
- If you scroll more than 10 lines at a time, the cursor moves along
|
||||||
|
|
Loading…
Reference in New Issue
Block a user