Version 0.1.0 ready.

This commit is contained in:
GrenderG committed 2019-10-21 20:05:22 +02:00
1 parent db42ba6dac
commit 644e00591c
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
tte: tte.c tte: tte.c
$(CC) tte.c -o tte -Wall -Wextra -pedantic -std=c99 -g
tte_release: tte.c
$(CC) tte.c -o tte -std=c99 $(CC) tte.c -o tte -std=c99
debug: tte.c
$(CC) tte.c -o tte -Wall -Wextra -pedantic -std=c99 -g
install: tte_release install: tte_release
sudo cp tte /usr/local/bin/ sudo cp tte /usr/local/bin/
sudo chmod +x /usr/local/bin/ sudo chmod +x /usr/local/bin/
+3 -3
View File
@@ -51,7 +51,7 @@
// Empty buffer // Empty buffer
#define ABUF_INIT {NULL, 0} #define ABUF_INIT {NULL, 0}
// Version code // Version code
#define TTE_VERSION "0.0.8" #define TTE_VERSION "0.1.0"
// Length of a tab stop // Length of a tab stop
#define TTE_TAB_STOP 4 #define TTE_TAB_STOP 4
// Times to press Ctrl-Q before exiting // Times to press Ctrl-Q before exiting
@@ -65,7 +65,7 @@
// Max Undo/Redo Operations // Max Undo/Redo Operations
// Set to -1 for unlimited Undo // Set to -1 for unlimited Undo
// Set to 0 to disable Undo // Set to 0 to disable Undo
#define ACTIONS_LIST_MAX_SIZE 50 #define ACTIONS_LIST_MAX_SIZE 80
typedef struct ActionList ActionList; typedef struct ActionList ActionList;
@@ -1282,7 +1282,7 @@ void editorSearch() {
} }
} }
/*** Undo Redo section ***/ /*** Action section ***/
typedef struct Action Action; typedef struct Action Action;
struct Action { struct Action {