Kartik K. Agaram
|
f120fb2449
|
Merge text0
|
2023-01-13 09:49:29 -08:00 |
Kartik K. Agaram
|
22bf3da7de
|
reduce use of rfind
|
2023-01-13 09:10:48 -08:00 |
Kartik K. Agaram
|
833ef32db1
|
configurable colors and cursor in editor widget
|
2022-11-30 19:31:00 -08:00 |
Kartik K. Agaram
|
b64a60a509
|
bring back everything from commit a68647ae22
We only want to unwind the source editing.
|
2022-11-06 08:53:46 -08:00 |
Kartik K. Agaram
|
29140d24be
|
back to commit 8123959e52 without code editing
|
2022-11-03 21:45:25 -07:00 |
Kartik K. Agaram
|
0a6dec2fb4
|
support special chars like '(' in search
|
2022-09-18 23:50:16 -07:00 |
Kartik K. Agaram
|
e1c5a42f31
|
editing source code from within the app
integrated from pong.love via text.love:
https://merveilles.town/@akkartik/108933336531898243
|
2022-09-03 14:13:22 -07:00 |
Kartik K. Agaram
|
1d3c9f4708
|
generalize a function
|
2022-08-18 10:32:03 -07:00 |
Kartik K. Agaram
|
cf8d9774ea
|
drop some obsolete args
|
2022-08-18 10:29:50 -07:00 |
Kartik K. Agaram
|
1d710912cc
|
swap return values
|
2022-08-17 09:10:52 -07:00 |
Kartik K. Agaram
|
f3df1cda0f
|
bugfix: check after cursor on same line when searching upwards
|
2022-08-11 22:23:16 -07:00 |
Kartik K. Agaram
|
8b880f4fe8
|
search: transparently handle drawings everywhere
|
2022-08-11 22:23:16 -07:00 |
Kartik K. Agaram
|
e85a7e73d0
|
bugfix: search upwards
|
2022-08-11 22:23:16 -07:00 |
Kartik K. Agaram
|
0afd03e721
|
bugfix: check before cursor on same line
|
2022-08-11 22:23:16 -07:00 |
Kartik K. Agaram
|
e26470aada
|
update cursor in search box
|
2022-07-25 18:17:04 -07:00 |
Kartik K. Agaram
|
3265abacb4
|
bugfix: skip over drawings when searching
|
2022-07-25 09:49:26 -07:00 |
Kartik K. Agaram
|
3b36093553
|
left/right margin -> left/right coordinates
Editor state initialization now depends on window dimensions, so we have
to more carefully orchestrate startup.
|
2022-07-12 20:54:50 -07:00 |
Kartik K. Agaram
|
5aae527759
|
add state arg to a few functions
- Text.search_next
- Text.search_previous
|
2022-07-12 17:02:53 -07:00 |
Kartik K. Agaram
|
3874f325f8
|
add state arg to some functions
- Text.draw
- Text.draw_cursor
- Text.draw_search_bar
|
2022-07-12 16:20:20 -07:00 |
Kartik K. Agaram
|
8bbc1ffe34
|
group all editor globals
We're still accessing them through a global. But we'll change that next.
|
2022-07-12 15:24:56 -07:00 |
Kartik K. Agaram
|
3850fbac35
|
make colors easier to edit
|
2022-07-11 23:18:26 -07:00 |
Kartik K. Agaram
|
0106ad4b4f
|
add args to some functions
- Text.pos_at_start_of_cursor_screen_line
|
2022-07-08 15:49:52 -07:00 |
Kartik K. Agaram
|
0d52962b3e
|
extract a couple of files
|
2022-06-03 14:17:41 -07:00 |