Commit graph

9 commits

Author SHA1 Message Date
AnotherTest
364dbe28d6 LibLine: Remove unused cut_mismatching_chars() function
This is superceded by the suggest() mechanism
2020-04-13 00:49:24 +02:00
Linus Groh
c106451daf LibLine: Cycle backward through suggestions using Shift+Tab 2020-04-11 20:42:17 +02:00
AnotherTest
2fdce695d6 LibLine: Display suggestions and cycle between them
With extra color (tm)
This commit also patches the users of LibLine to properly use the new
API
2020-04-11 17:15:19 +02:00
AnotherTest
f946d6ce79 LibLine: Properly handle window resize by not spamming DSRs
We have all the information necessary to find our new origin when a
window size change occurs.
2020-04-11 14:29:25 +02:00
AnotherTest
173c65660a LibLine: Properly show and cleanup suggestions
Prior to this, we would display them and never clean then up.
2020-04-11 14:29:25 +02:00
AnotherTest
da9335dbec LibLine: Implement multiline editing
This commit also adds the ability to change the prompt mid-edit :^)
2020-04-10 00:58:59 +02:00
AnotherTest
c2f8a5fffa LibLine: Add live styling support
This patchset adds an stylization interface to LibLine, and breaks
multiline editing.
With the most adorable Style constructor I've ever seen :^)
2020-04-05 16:11:13 +02:00
Andreas Kling
c7257ed827 LibLine: Rename on_char_input() => register_character_input_callback()
The "on_foo" format is our convention for public callback members.
2020-03-31 13:37:01 +02:00
Andreas Kling
8ab576308f LibLine: Rename LineEditor.{cpp,h} => Editor.{cpp,h} 2020-03-31 13:34:57 +02:00
Renamed from Libraries/LibLine/LineEditor.h (Browse further)