Guldoman
|
f23cb33f7c
|
Ignore empty lines in `line_comment`
|
2022-02-07 19:22:43 +01:00 |
Adam
|
0a70b13a73
|
Merge pull request #809 from lite-xl/merge-master-2.0
Merge master 2.0
|
2022-01-28 14:38:22 -05:00 |
Adam Harrison
|
b523bd5cee
|
Fixed end of block-style line comments.
|
2022-01-20 22:17:21 -05:00 |
Francesco Abbate
|
f6a0e12e31
|
Merge branch 'master-2.0'
|
2022-01-19 20:31:33 +01:00 |
Adam Harrison
|
cdbfecc5ce
|
Streamlined, and fixed guldo's problem.
|
2022-01-18 21:38:43 -05:00 |
Adam Harrison
|
30cc205cd4
|
Fixed issue first mentioned in #771.
|
2022-01-18 21:38:38 -05:00 |
Francesco Abbate
|
2456452f65
|
Fix error to close view when deleting a file
|
2022-01-13 16:38:20 +01:00 |
takase1121
|
fc809b3172
|
comment the entire line when using block comment
|
2022-01-08 18:45:38 +08:00 |
takase1121
|
df0f6fb94c
|
make set_selections consistent
|
2022-01-02 19:18:08 +08:00 |
takase1121
|
e079ddfa37
|
refactor toggle-block-comments, make command spaces aware, set selections correctly
|
2022-01-02 19:14:03 +08:00 |
takase1121
|
33f7fe4fda
|
toggle comment for whole line if nothing is selected
|
2021-12-26 15:12:28 +08:00 |
takase1121
|
69a857bbbf
|
fallback to toggle-line-comment and vice versa if needed
|
2021-12-26 15:05:27 +08:00 |
takase1121
|
4d31b1bc40
|
add toggle-block-comment
|
2021-12-25 12:57:00 +08:00 |
Adam Harrison
|
978550d2a2
|
Restores external pastes to be normal pastes.
|
2021-12-21 16:23:34 -05:00 |
Jipok
|
7381a13d6f
|
Revert "Make pasting multiple lines from clipboard same way as a single line"
This reverts commit 6a135f7c06 .
|
2021-12-12 02:23:47 +05:00 |
Jipok
|
6a135f7c06
|
Make pasting multiple lines from clipboard same way as a single line
|
2021-12-10 19:25:28 +05:00 |
Jipok
|
4eee123eff
|
Make cursor_clipboard globa, not per doc
|
2021-12-08 17:34:10 +05:00 |
Jipok
|
acc7ceefd4
|
Correct paste after 'Cut/copy whole line'
|
2021-12-06 17:59:49 +05:00 |
Jipok
|
93d9e61a03
|
Copy/cut whole line if selection empty
|
2021-12-05 20:30:03 +05:00 |
Adam
|
a607ef95f9
|
Merge pull request #682 from Guldoman/indent_refactor
Refactor how to get the indentation of a `Doc`
|
2021-11-27 11:55:36 -05:00 |
Adam Harrison
|
64f66e5d1e
|
Added in cut, copy and paste to the context menu. Also removed find pattern, as that's no longer a valid command. Also made it so commands only show up if their predicates are valid.
|
2021-11-23 21:03:38 -05:00 |
Guldoman
|
3d9901695b
|
Use the new `Doc:get_indent_info` throughout `core`
|
2021-11-20 04:37:15 +01:00 |
Joshua Minor
|
4f55555ca9
|
Selection expands by word or line on double or triple click followed by drag.
|
2021-11-19 09:46:13 -08:00 |
Adam Harrison
|
c04dc648de
|
Refactored things out.
|
2021-11-14 15:41:28 -05:00 |
Adam Harrison
|
1968d31b7c
|
Keymap.
|
2021-11-14 15:41:28 -05:00 |
Adam Harrison
|
6bdcfc824d
|
Rearranged things to make a bit more sense.
|
2021-11-14 15:41:28 -05:00 |
Adam Harrison
|
ce2ec9f442
|
Moved commands out to the outer event loop.
|
2021-11-14 15:41:28 -05:00 |
Adam Harrison
|
6f53ee1b69
|
Added in double, and triple clicking.
|
2021-11-14 15:41:28 -05:00 |
Adam Harrison
|
612818ca05
|
Added in clicks to keymap.
|
2021-11-14 15:41:28 -05:00 |
Rongfei Wang
|
b0b3485152
|
Remove duplicate command declaration (#565)
|
2021-10-02 18:39:22 +02:00 |
Rongfei Wang
|
cf11d67895
|
Remove duplicate command declaration (#565)
|
2021-09-30 13:38:32 +02:00 |
Adam
|
9e45b1de58
|
Merge pull request #390 from adamharrison/cursor-fixes
Fixed multilne cursors at the edges of docuemnts.
|
2021-08-14 09:12:13 -04:00 |
Adam Harrison
|
8e9c410d27
|
Fixed multilne cursors at the edges of docuemnts.
|
2021-08-14 08:59:37 -04:00 |
Adam Harrison
|
aa4d91a03f
|
Reverted hash changes; simply copy entire clipboard.
|
2021-08-11 18:14:46 -04:00 |
Adam Harrison
|
255c45b30b
|
Since we're modifying the clipboard, actually makes way more sense to use this hash.
|
2021-08-10 21:29:33 -04:00 |
Adam Harrison
|
71e62ce84f
|
Added in a hash check to the system clipboard.
|
2021-08-10 21:25:40 -04:00 |
Adam Harrison
|
2bf56e67c5
|
Changed behaviour of home.
|
2021-08-06 18:08:08 -04:00 |
Adam Harrison
|
c461cfae93
|
Removed unecessary duplicates.
|
2021-07-20 14:50:40 -04:00 |
Adam Harrison
|
0777a6f0b8
|
Merged dev to master.
|
2021-07-20 14:39:50 -04:00 |
takase1121
|
f4f33bd36b
|
remove deprecated code
|
2021-07-15 18:01:24 -04:00 |
lqdev
|
e5b2a7cbe8
|
reset blink timer when a new cursor is created
|
2021-07-01 14:50:28 +02:00 |
Adam Harrison
|
bd02095a13
|
Fixed minor bugs; swap no longer returns from get.
|
2021-06-18 23:58:55 -04:00 |
Adam Harrison
|
704e04396f
|
Rebased, and added the ability for ctrl to just create new cursors.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
3541ab4aa1
|
Removed unecessary check.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
b5cbe3a2fb
|
Added in the ability to iterate through cursors backwards.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
dfc57bd884
|
Used routine to add cursors in order correctly.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
6915d86d59
|
Introduced the constraint that all cursors must be in order.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
0f229b039d
|
Fixed merging. Fixed selection undo stack.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
c494d52caf
|
Used an inappropriate function in a selection loop.
|
2021-06-18 17:33:55 -04:00 |
Adam Harrison
|
c6f7e473f0
|
That's what I get for not testing after a 'simple' refactor.
|
2021-06-18 17:33:55 -04:00 |