about summary refs log tree commit diff stats
path: root/source_edit.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-09-05 14:16:30 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-09-05 14:16:55 -0700
commit516944b57215db43e20678b7462a46c1beae99ea (patch)
treefab0042d94f4d4d308dc4018cd86c150ed23bba7 /source_edit.lua
parentfdb35ce12bd8b2e30522ada07ec756a626d01a09 (diff)
downloadtext.love-516944b57215db43e20678b7462a46c1beae99ea.tar.gz
support hyperlinks in the source editor
Integrated from the pensieve fork.
Diffstat (limited to 'source_edit.lua')
-rw-r--r--source_edit.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/source_edit.lua b/source_edit.lua
index 65f00a2..6676b42 100644
--- a/source_edit.lua
+++ b/source_edit.lua
@@ -1,6 +1,7 @@
 -- some constants people might like to tweak
 Text_color = {r=0, g=0, b=0}
 Cursor_color = {r=1, g=0, b=0}
+Hyperlink_decoration_color = {r=0.4, g=0.4, b=1}
 Stroke_color = {r=0, g=0, b=0}
 Current_stroke_color = {r=0.7, g=0.7, b=0.7}  -- in process of being drawn
 Current_name_background_color = {r=1, g=0, b=0, a=0.1}  -- name currently being edited