aycabta
|
93080111cd
|
[ruby/reline] Fix autocomplete dialog width
9868432687
|
2021-09-03 03:32:07 +09:00 |
|
aycabta
|
afa4b59e06
|
[ruby/reline] Clear only necessary parts when dialog disappearing
46ff0ff435
|
2021-09-02 17:11:21 +09:00 |
|
aycabta
|
4208cd0301
|
[ruby/reline] Shrink the dialog height when contents is shorter than it
a18817635f
|
2021-09-02 17:11:14 +09:00 |
|
aycabta
|
a44d28db9f
|
[ruby/reline] Fix a misalignment when dialog is shown on top
0527b1a492
|
2021-09-02 17:11:09 +09:00 |
|
aycabta
|
123fcc8c92
|
[ruby/reline] Remove an unnsed constant
44da8a6b9e
|
2021-09-02 17:11:01 +09:00 |
|
aycabta
|
4852d87a81
|
[ruby/reline] Fix a crash when completing empty line
8226ae7e57
|
2021-09-02 14:07:48 +09:00 |
|
aycabta
|
5f23003cc2
|
[ruby/reline] Fix a crash when completing after 2nd line
f9d3480c34
|
2021-09-02 14:07:40 +09:00 |
|
aycabta
|
f9bdb17c02
|
[ruby/reline] Use padding_space_with_escape_sequences to padding spaces in reset_dialog
7d582f4982
|
2021-09-01 18:05:37 +09:00 |
|
aycabta
|
acf11b94d2
|
[ruby/reline] Cut out a method that calcs width including the escape sequence and padding with spaces
46c9d944e5
|
2021-09-01 18:05:30 +09:00 |
|
aycabta
|
a669b9661e
|
[ruby/reline] Calc width including escape sequences and padding with spaces correctly
21c795e97f
|
2021-09-01 18:05:25 +09:00 |
|
aycabta
|
3bd3adde7c
|
[ruby/reline] Calc width including escape sequences and clear dialog correctly
9b812d5151
|
2021-09-01 18:05:20 +09:00 |
|
aycabta
|
9b188ac238
|
[ruby/reline] Remove one unnecessary nest for simplicity's sake
f4bda85a7c
|
2021-08-31 20:48:54 +09:00 |
|
aycabta
|
64373a3c58
|
Move access to dialog_render_info inside nil check
|
2021-08-31 20:35:10 +09:00 |
|
aycabta
|
7afb5b8b95
|
[ruby/reline] Use Reline::Unicode.take_range to devide exactly by width
de1ad93f44
|
2021-08-31 15:19:44 +09:00 |
|
aycabta
|
4f5166e790
|
[ruby/reline] Check if dialog_render_info is nil or not
e2b87fe831
|
2021-08-31 15:19:37 +09:00 |
|
aycabta
|
c8a07a1231
|
[ruby/reline] Fix Reline::Unicode.take_range as it was not fully functional
5da6a8d851
|
2021-08-31 15:19:32 +09:00 |
|
aycabta
|
7fae57dbb4
|
[ruby/reline] Use dynamic contents width
f0e54f239b
|
2021-08-31 15:19:25 +09:00 |
|
aycabta
|
a598730e79
|
[ruby/reline] Remove an unused variable
0ae7d8b336
|
2021-08-31 05:45:02 +09:00 |
|
aycabta
|
c98b2e14c7
|
[ruby/reline] Pass "dialog" to context to get "dialog.scroll_top" later
d81f29a134
|
2021-08-31 05:26:53 +09:00 |
|
aycabta
|
81d40b5b7e
|
[ruby/reline] Scroll autocompletion pointer in dialog correctly
dc79ed2dd8
|
2021-08-31 05:26:39 +09:00 |
|
aycabta
|
282f7ce896
|
[ruby/reline] Use DialogRenderInfo struct
ac6f652a39
|
2021-08-31 05:26:33 +09:00 |
|
aycabta
|
0c09418fff
|
[ruby/reline] Fix dialog rendering at the bottom edge
860be91bd7
|
2021-08-31 05:26:28 +09:00 |
|
aycabta
|
935bb4c617
|
[ruby/reline] Add autocompletion on emacs mode by Tab / S-Tab
22d0b4e5d8
|
2021-08-30 02:37:23 +09:00 |
|
aycabta
|
11b825076b
|
[ruby/reline] Add config.autocompletion
3d918e4ccb
|
2021-08-30 02:37:23 +09:00 |
|
aycabta
|
b023ef8594
|
[ruby/reline] Clear dialog by C-c
f66a079c85
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
d41d41da38
|
[ruby/reline] Clear completion journey data when finished
03716a411e
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
3d757ba1b6
|
[ruby/reline] Suppress crashes on nil
b5f62c366b
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
acd15a39d2
|
[ruby/reline] Support custom bg color
cd0cbf53d5
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
4cd344c958
|
[ruby/reline] Add the ability to handle context between dialogs
063d9c70d9
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
8d4370b066
|
[ruby/reline] Support for multiple dialog rendering
f589fab718
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
164e486225
|
[ruby/reline] Remove @dialog_updown and @dialog_contents_width
458cb8a9cc
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
4b2b10707a
|
[ruby/reline] Implement dynamic selection of candidates
e46437df00
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
fdc005e54e
|
[ruby/reline] Completion journey starts with one of candidates
First one is just original string.
ccb70cc240
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
475038a622
|
[ruby/reline] Move cursor correctly when current line is auto wrapped
14c8fade54
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
ff43b0f2dd
|
[ruby/reline] Update dialog backup before clearing
a39e2c8813
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
ca1a2d1f68
|
[ruby/reline] Show autocomplete correctly when starts from prev line
f31a76ff31
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
06bd48aba8
|
[ruby/reline] Remove unnecessary metadata between lines
83928249e3
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
081e5de34d
|
[ruby/reline] Combine vertical processing into @dialog_vertical_offset
600b93620c
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
f863ed5210
|
[ruby/reline] Drop too much contents before processing
94f7027edc
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
fb9fe4c43f
|
[ruby/reline] Display autocomplete below original line if end point was wrapped
49f3392d59
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
9b2afb2eed
|
[ruby/reline] Scroll properly to create margin
064d54f8f1
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
85dd0ad5e0
|
[ruby/reline] Move dialog pos to left when goes beyond right edge
f1efa2b062
|
2021-08-29 20:30:33 +09:00 |
|
aycabta
|
02a61fe33f
|
[ruby/reline] Hide cursor when rendering dialog
a9050cf676
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
c0349765e9
|
[ruby/reline] Remove debug code
2389d175f7
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
2ec3977ce2
|
[ruby/reline] Clear after cursor
4d7503cd1f
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
b95e5f4a41
|
[ruby/reline] Move cursor to rerender right margin of dialog correctly
554855013b
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
6f66927aef
|
[ruby/reline] Add comments about where rerendering
4406069b7e
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
55459bdd67
|
[ruby/reline] Use background color instead of border frame
8f1db0a076
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
6fda457448
|
[ruby/reline] Suppress warning; unused variable
74a6124e8d
|
2021-08-29 20:30:32 +09:00 |
|
aycabta
|
1e527c8a55
|
[ruby/reline] Remove an unnecessary variable
5435c1aa3f
|
2021-08-29 20:30:32 +09:00 |
|