| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-07-11 | Make `Doc:get_selection[s]` return if the selection was actually sorted | Guldoman | |
| 2022-06-25 | Don't indent empty lines in a selection | Guldoman | |
| 2022-06-07 | initial documentation for better code completion | jgmdev | |
| 2022-05-15 | Split out reload functionality to actual document, and added in a thread to ↵ | Adam Harrison | |
| check the document, in the cases where it wouldn't be covered by dirwatch. | |||
| 2022-04-27 | Manage return values from "replacer" function in `Doc:replace` | Guldoman | |
| Before the addition of multi-cursor support, we just returned the second return value of the "replacer" function to the caller. With the introduction of multi-cursors, we naively summed the second return values for each cursor. In some cases the "replacer" function doesn't return any second value, so we tried to do math with `nil`, thus throwing errors. Now the second return value is added to a table which is then returned to the caller. | |||
| 2022-03-18 | Reset syntax when a filename is provided | Guldoman | |
| 2022-03-17 | Fixed a bunch of problems. Fixed left+click not allowing for square ↵ | Adam Harrison | |
| selections, fixed esc not exiting multicursor mode, and allowed cntrl+click to remove a cursor. | |||
| 2022-01-19 | Merge branch 'master-2.0' | Francesco Abbate | |
| 2021-12-30 | Fix problem when opening project's module document | Francesco Abbate | |
| It wasn't fine to call core.open_doc without filename argument and later call Doc:save without providing both the filename and the absolute filename. It was giving a Doc in an inconsistent status where self.filename was set but not self.abs_filename. Added an asset to detect early the problem if ever happens again. In turn the problem prevented the project's module hook to work if the file was newly created. | |||
| 2021-12-10 | Delete old forgotten self.cursor_clipboard | Jipok | |
| 2021-12-08 | Make cursor_clipboard globa, not per doc | Jipok | |
| 2021-12-06 | Correct paste after 'Cut/copy whole line' | Jipok | |
| 2021-11-27 | Merge pull request #682 from Guldoman/indent_refactor | Adam | |
| Refactor how to get the indentation of a `Doc` | |||
| 2021-11-23 | Added in cut, copy and paste to the context menu. Also removed find pattern, ↵ | Adam Harrison | |
| as that's no longer a valid command. Also made it so commands only show up if their predicates are valid. | |||
| 2021-11-23 | Manual merge of into . | Adam Harrison | |
| 2021-11-20 | Use the new `Doc:get_indent_info` throughout `core` | Guldoman | |
| 2021-11-20 | Add `Doc:get_indent_info` | Guldoman | |
| It returns the indentation type, size and confirmation status, used by the `Doc`. | |||
| 2021-11-20 | Pre-populate the highlighter | Guldoman | |
| This avoids problems with calls to `[insert,remove]_notify` on lines that the highlighter has not yet added. | |||
| 2021-11-20 | Add `soft_reset` to highlighter | Guldoman | |
| This allows clearing the `lines` table without removing entries. | |||
| 2021-11-17 | Merge branch 'master' into replace-unpack | Takase | |
| 2021-10-10 | Merge pull request #466 from Guldoman/new_not_dirty | Francesco | |
| Avoid setting a new file as dirty if it is empty | |||
| 2021-10-08 | Improve highlither for document edits | Francesco Abbate | |
| The syntax highlighter keep a cache of the documents like tokenization. In order to minimize the amount of tokenize re-computations we insert some emtty lines or remove some lines in the highlither lines corresponding to the lines added or removed to the document. | |||
| 2021-10-07 | Improve highlither for document edits | Francesco Abbate | |
| The syntax highlighter keep a cache of the documents like tokenization. In order to minimize the amount of tokenize re-computations we insert some emtty lines or remove some lines in the highlither lines corresponding to the lines added or removed to the document. | |||
| 2021-10-02 | Sanitize selections after redo | Guldoman | |
| 2021-09-08 | Revert horizontal scroll implementation | Guldoman | |
| 2021-08-31 | Avoid setting a new file as dirty if it is empty | Guldoman | |
| 2021-08-31 | Forgot to return an 'n'. | Adam Harrison | |
| 2021-08-30 | Fixed replace to make it multicursor-aware. | Adam Harrison | |
| 2021-08-30 | Avoid recreating `line_numbers` table when a recalc is needed | Guldoman | |
| 2021-08-30 | Avoid recreating tables when calculating the longest lines | Guldoman | |
| 2021-08-30 | Fix discrepancy in max line length | Guldoman | |
| The line length calculated in `Doc:load` didn't account for the newline that gets added. | |||
| 2021-08-30 | Remove line from longest lines table only if needed | Guldoman | |
| Checking if a line needs to be removed is faster than just trying to remove it. | |||
| 2021-08-30 | Make `Doc` keep track of max line length | Guldoman | |
| 2021-08-30 | Merge pull request #430 from adamharrison/vsc-multicursor-shortcuts | Adam | |
| Added in two new VSC-style multicursor shortcuts. | |||
| 2021-08-29 | Fixed cursor movement. | Adam Harrison | |
| 2021-08-29 | Fixed cursors moving around with removal and inserts with cursors. Also ↵ | Adam Harrison | |
| fixed drawing line highlights with multicursors. | |||
| 2021-08-29 | replace unpack() with table.unpack() | takase1121 | |
| I have no idea unpack() is still used and how it still worked. | |||
| 2021-08-24 | increase code readibility | Takase | |
| 2021-08-24 | add doc:get_selection_text() | takase1121 | |
| 2021-08-11 | Small fix. | Adam Harrison | |
| 2021-08-10 | Added in a hash check to the system clipboard. | Adam Harrison | |
| 2021-07-20 | Removed unecessary duplicates. | Adam Harrison | |
| 2021-07-20 | Merged dev to master. | Adam Harrison | |
| 2021-06-20 | Added Doc:on_close() for plugins | jgmdev | |
| 2021-06-18 | Fixed recursion error. | Adam Harrison | |
| 2021-06-18 | Made get_selections a bit more flexible. | Adam Harrison | |
| 2021-06-18 | Added in the ability to iterate through cursors backwards. | Adam Harrison | |
| 2021-06-18 | Used routine to add cursors in order correctly. | Adam Harrison | |
| 2021-06-18 | Introduced the constraint that all cursors must be in order. | Adam Harrison | |
| 2021-06-18 | Ensured that textual inputs sort cursors so that we don't get *real* weird ↵ | Adam Harrison | |
| behaviour. | |||
