Commit Graph

49 Commits

Author SHA1 Message Date
minjaesong
f9eecab830 DOS apps to use _G.shell.resolvePathInput for opening a file 2022-09-24 01:51:57 +09:00
minjaesong
c598b6633d edit.js: filename display will get an extra asterisk if the contents has been changed 2022-09-24 01:27:50 +09:00
minjaesong
0d1e33f7e6 getting rid of old filesystem functions 2022-09-06 20:30:46 +09:00
minjaesong
8d3dceb576 more editor changes 2021-10-05 10:52:48 +09:00
minjaesong
fa953a682b edit.js: displaying filename on menubar 2021-10-04 23:04:51 +09:00
minjaesong
ba71049335 edit.js to wait for key up on initial launch 2021-10-04 22:31:56 +09:00
minjaesong
7fe9e5c430 rewrote input.withEvent so that the typing is actually possible; edit now uses new input.withEvent() 2021-10-04 18:21:46 +09:00
minjaesong
012bc44845 keyevent reading moved to the tvdos itself 2021-09-24 11:30:55 +09:00
minjaesong
96e23d9019 fixed a bug caused by lwjgl3 where Ctrl-<alph> won't be recognised 2021-09-23 22:30:28 +09:00
minjaesong
3a1bb48514 fixing edit.js wip 2021-09-23 17:58:31 +09:00
minjaesong
c331397619 edit.js: tab key impl 2021-04-22 17:47:27 +09:00
minjaesong
4ed44be569 edit.js: line numbering for lnum >= 10000 2021-04-22 13:41:05 +09:00
minjaesong
0a76ad89c1 edit.js: vert scrolling when cursoringCol > screenWidth will no longer scroll a shorter-than-screenwidth-line that results hiding the contents 2021-04-22 13:16:18 +09:00
minjaesong
209266d510 edit.js: newline indicator 2021-04-22 11:49:06 +09:00
minjaesong
b468d5e8e5 edit.js: ^Q to quit 2021-04-22 11:25:44 +09:00
minjaesong
8997b83114 edit.js: minor asthetic fix 2021-04-22 11:15:51 +09:00
minjaesong
320aea286d Merge branch 'master' of github.com:curioustorvald/tsvm 2021-04-22 10:58:22 +09:00
minjaesong
e862edd67f edit.js: adding/deleting a text or a line works again 2021-04-22 10:56:20 +09:00
minjaesong
77ff22f968 edit.js: adding a character anywhere on the line works, but not the bksp 2021-04-22 10:40:41 +09:00
minjaesong
4066ddd7a5 edit.js: hor/vert scroll works even when cursorCol != cursoringCol 2021-04-22 10:13:36 +09:00
minjaesong
1ce7ebeac9 edit.js: highlighter position fixed when scroll > 0 2021-04-21 20:02:47 +09:00
minjaesong
823ca55496 edit.js: hor scroll also works; what left is doing vert scroll when col > 0 2021-04-21 17:47:51 +09:00
minjaesong
d348e56766 edit.js: scrolling is hard... vert scroll is honest-to-god working as it should 2021-04-21 17:34:34 +09:00
minjaesong
95c33f7d5e edit.js: horz scroll kinda works; vert scroll works flawlessly as long as COL is 1 2021-04-19 22:38:39 +09:00
minjaesong
1668211782 edit.js: caret row highlighter 2021-04-19 17:06:58 +09:00
minjaesong
aede935250 edit.js: vert scroll fixed, but not PgDn; hor scroll is still broken 2021-04-18 17:41:56 +09:00
minjaesong
6a1ce46f7b wtf 2021-04-17 22:56:19 +09:00
minjaesong
28d2fb6181 edit.js: completely new method of cursor moving thus everything is broken now :) 2021-04-17 18:03:08 +09:00
minjaesong
9465482fe2 edit.js: text nav in all four directions, home/end behaviour on shorter-than-screen-width line fixed, pageup/pagedown nav impl; default text colour is tad brighter 2021-04-17 11:36:10 +09:00
minjaesong
7a6b2573ca edit.js: text cursor moves intelligently on navigating lines, but scrolling is still wip 2021-04-17 10:39:55 +09:00
minjaesong
5554e0e927 edit.js: hit return to add a new line in the middle of the text 2021-04-16 17:58:19 +09:00
minjaesong
1fc01ab745 edit.js: home/end to move text cursor 2021-04-16 17:31:36 +09:00
minjaesong
74020199a6 more scroll thingy 2021-04-16 16:01:45 +09:00
minjaesong
3616d25cb6 edit.js: text line will scroll on cursor move 2021-04-16 13:39:58 +09:00
minjaesong
6ca20ce847 edit.js: scroll further left/right indicator 2021-04-16 11:38:50 +09:00
minjaesong
fba4ccb0cb edit.js: can scroll text horizontally but pretty much wip 2021-04-16 11:25:11 +09:00
minjaesong
36e043fd16 edit.js: can move text cursor left/right 2021-04-16 10:19:09 +09:00
minjaesong
6862604562 edit.js: cosmetic fix 2021-04-14 13:19:28 +09:00
minjaesong
adaeadd6ca edit.js: can read existing files; change on tty key read that arrow keys are now distinguished from ctrl-S or something 2021-04-14 11:35:39 +09:00
minjaesong
390176591d edit.js: can scroll down except a cosmetic problem 2021-04-13 12:00:18 +09:00
minjaesong
552f620c2c edit.js to shitty newline 2021-04-10 17:24:43 +09:00
minjaesong
64376f09b2 edit.js can write file to disk 2021-04-10 17:03:33 +09:00
minjaesong
67668e6423 get filename for edit 2021-04-08 15:35:57 +09:00
minjaesong
922e24c6fd reading keys using con.getch 2021-04-07 21:14:04 +09:00
minjaesong
907cb9c376 why the key is not latching? 2021-04-07 17:59:24 +09:00
minjaesong
18a5f74029 edit: much much simpler interface xD 2021-04-07 17:17:20 +09:00
minjaesong
fb27f15a63 one more line for edit's text buffer 2021-04-06 23:20:06 +09:00
minjaesong
82107fa80d editor wip 2021-04-06 19:53:11 +09:00
minjaesong
7fe1ced740 text editor mockup 2021-04-06 11:52:43 +09:00