summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-04-20 19:47:39 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2021-04-20 19:47:39 -0400
commitc97c44d84550acdda34b07781d5b5ffab08d5336 (patch)
tree97fe21fb041cbc97eb276ddf7f38b60cddc64d09
parentf1a5e67911f92318dab3f980808874b8369389d6 (diff)
minor changes before 1.0
-rw-r--r--Makefile4
-rw-r--r--README.md19
2 files changed, 16 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 0f99dac..6fded04 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ ALL_CFLAGS=$(CFLAGS) -Wall -Wextra -Wshadow -Wconversion -Wpedantic -pedantic -s
-Wno-unused-function -Wno-fixed-enum-extension -Wimplicit-fallthrough -Wno-format-truncation -Wno-unknown-warning-option
LIBS=-lSDL2 -lGL -lm libpcre2-32.a
DEBUG_CFLAGS=$(ALL_CFLAGS) -DDEBUG -O0 -g
-RELEASE_CFLAGS=$(ALL_CFLAGS) -O3 -g
-PROFILE_CFLAGS=$(ALL_CFLAGS) -O3 -g -DPROFILE=1
+RELEASE_CFLAGS=$(ALL_CFLAGS) -O3
+PROFILE_CFLAGS=$(ALL_CFLAGS) -O3 -DPROFILE=1
GLOBAL_DATA_DIR=/usr/share/ted
LOCAL_DATA_DIR=/home/`logname`/.local/share/ted
INSTALL_BIN_DIR=/usr/bin
diff --git a/README.md b/README.md
index b4ad4b3..5458f64 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,18 @@
A text editor.
-**ted is still very new. There is no nice installer yet (if you want ted, you'll have to build it from source).**
-**I'll release installers after testing it a bit more to try to find any remaining bugs.**
-
<img src="ted.png">
+This repository is for the latest experimental version of ted. If you want a stable version,
+go to the [releases](https://github.com/pommicket/ted/releases). You will also find
+installers for Windows and Debian/Ubuntu there.
+
+To get autocomplete and go-to-definiton you will need [ctags](https://github.com/universal-ctags/ctags).
+You can install ctags on Debian/Ubuntu with:
+
+```bash
+sudo apt install universal-ctags
+```
## Why?
@@ -45,6 +52,8 @@ check out all of the keyboard shortcuts!
Ctrl+! (run shell command), then run `grep -n search_term *.py`, for example (on Windows, you will need to have
cygwin or something in your PATH for this to work). The `-n` ensures that
ted can jump to the results, just like jumping to build errors.
+- ted uses PCRE for regular expressions. This means that when using find+replace, if you want to
+replace with a captured group, you need to use `$1`, not (as you might expect) `\1`.
### Configuration
@@ -90,7 +99,7 @@ variable names. Sorry.
## Building from source
-To install `ted` on Linux, you will need:
+To install `ted` from source on Linux, you will need:
- A C compiler
- The SDL2 development libraries
@@ -116,7 +125,7 @@ Extract the zip, copy SDL2-2.x.y into the ted directory, and rename it to SDL2.
to the ted directory.
You will also need PCRE2. Download it here: https://ftp.pcre.org/pub/pcre/pcre2-10.36.zip,
unzip it, and put pcre2-10.36 in the same folder as ted.
-Then run `make.bat`.
+Then run `make.bat release`.
## Version history