From 24f7f66a245a209bc13730b9211f7b87bed4226f Mon Sep 17 00:00:00 2001 From: PS Date: Mon, 13 May 2024 17:24:33 -0700 Subject: [PATCH] Added scope highlight colors --- TODO.md | 4 +++- code/ship_files/config.4coder | 2 +- code/ship_files/themes/theme-gs.4coder | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/TODO.md b/TODO.md index 828df4dd..a90baf7c 100644 --- a/TODO.md +++ b/TODO.md @@ -10,12 +10,14 @@ PRIME DIRECTIVE: SIMPLIFY [] Look into removing *keyboard* buffer - seems like over long sessions, that could get out of hand - good first step: print out the memory footprint of this buffer when we exit 4coder, just so we can see what it's taking up [] multi cursor editing -[] matching curly brace highlight + +[] yeet sheet ## Investigations [] What are fade ranges? Do we need them? # DONE +[x] matching curly brace highlight [x] when buffers have the same filename, a short name is appended. I'd prefer to append the path relative to the project, and if the file is outside the project, append the full path. [x] reload dirty files if there are no local edits to them automatically [x] remove audio (search @Remove) diff --git a/code/ship_files/config.4coder b/code/ship_files/config.4coder index 8a4b8775..d2c10f1b 100644 --- a/code/ship_files/config.4coder +++ b/code/ship_files/config.4coder @@ -20,7 +20,7 @@ use_scope_highlight = true; use_paren_helper = true; use_comment_keywords = true; lister_whole_word_backspace_when_modified = true; -show_line_number_margins = false; +show_line_number_margins = true; enable_output_wrapping = false; enable_undo_fade_out = false; diff --git a/code/ship_files/themes/theme-gs.4coder b/code/ship_files/themes/theme-gs.4coder index a9127272..be040148 100644 --- a/code/ship_files/themes/theme-gs.4coder +++ b/code/ship_files/themes/theme-gs.4coder @@ -32,7 +32,7 @@ defcolor_highlight_junk = 0xFF3A0000; defcolor_highlight_white = 0xFF003A3A; defcolor_paste = 0xFFDDEE00; defcolor_undo = 0xFF00DDEE; -defcolor_back_cycle = { defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back, defcolor_back}; +defcolor_back_cycle = { 0xff282828, 0xff323232, 0xff3C3C3C, defcolor_back, }; defcolor_text_cycle = { 0xFFA00000, 0xFF00A000, 0xFF0030B0, 0xFFA0A000 }; defcolor_line_numbers_back = defcolor_back; defcolor_line_numbers_text = 0xFF404040;