Commit Graph

16 Commits (aaee25155057927c96fe596813998a68f3c0d1b5)

Author SHA1 Message Date
Lukas Neubert daff481233
examples/text_editor: use mathutil for min/max functions (#9911) 2021-04-29 09:42:59 +03:00
Lukas Neubert 16e79bc3ca
tools: format most examples and tutorials, add them to `v test-cleancode` (#9826) 2021-04-20 17:16:35 +03:00
spaceface b712af56fd
all: bring back `panic(err.msg)` -> `panic(err)` (#9022) 2021-03-01 00:18:14 +01:00
spaceface d63b7bc35a
all: update repo to use the new error handling syntax (#8950) 2021-02-28 23:20:21 +03:00
spaceface 260f677469
term.ui: use the new `[flag]` enums (#8881) 2021-02-21 16:07:49 +02:00
Nick Treleaven ea803113c3
checker: check `unsafe` V function calls (#8752) 2021-02-14 19:31:42 +01:00
spaceface e233911a7b
term.ui: native Windows console implementation (#8359) 2021-01-27 13:52:39 +01:00
Delyan Angelov e5a84719ca
all: require calling `optfn() ?` / `optfn() or {...}` for `fn optfn() ? {}` 2021-01-26 16:43:17 +02:00
Larpon 0c54ebdf41
text_editor: add magnet cursor position (#6843) 2020-11-16 14:51:39 +02:00
Delyan Angelov c8b7cfc297 examples: small fix for ctrl-right at the last word of a line 2020-11-15 14:49:55 +02:00
spaceface777 dcbb285ae4
examples: text editor: implement ctrl+arrows to move by word (#6838) 2020-11-15 13:33:08 +01:00
spaceface777 1ead130eed
term.ui: render to the alternate buffer (#6832) 2020-11-14 21:05:22 +02:00
Carlos Esquerdo Bernat 827fb62c29
examples/text_editor: edit multiple files (#6827) 2020-11-14 19:39:59 +02:00
spaceface777 ec3b96924f
examples/text_editor: make scrolling smoother (#6819) 2020-11-14 09:21:46 +02:00
spaceface777 eacd6b5d54
examples/text_editor: minor cleanup and simplifications (#6818) 2020-11-13 19:18:05 +02:00
Larpon b02f03e20a
examples: add a simple text editor example to term.ui (#6808) 2020-11-13 15:27:12 +01:00