Alf Eaton
62533ace6d
Use StringQuery and selectWord from @codemirror/search ( #12828 )
...
GitOrigin-RevId: 23b3e6a5db8583646f378cef52f41889a73a3672
2023-07-17 10:44:26 +00:00
Alf Eaton
db26446d76
[visual] Avoid showing braces around section headings when editing the section title ( #13464 )
...
GitOrigin-RevId: 050663e752720993ccf1ab745a8b4250d54198fc
2023-07-17 10:44:17 +00:00
ilkin-overleaf
15db0ce4e3
Merge pull request #13492 from overleaf/td-review-panel-sync-height
...
Add hook for synchronizing review panel height with editor content height
GitOrigin-RevId: ef0a96ef4e77e7858b28f6f65254a4b0c1e778ea
2023-07-17 10:39:29 +00:00
Alf Eaton
a4d1ac2f13
Merge pull request #13477 from overleaf/ae-bottom-padding
...
[cm6] Improve bottom padding calculations
GitOrigin-RevId: 91fff97ebf6675cddffdd89118fd06f003321143
2023-07-17 10:36:00 +00:00
Alf Eaton
e025088065
Merge pull request #13241 from overleaf/ae-extensions-documentation
...
Add documentation for CodeMirror extensions
GitOrigin-RevId: e5f07084173f201919272f9d46dcdaef4b817874
2023-07-17 10:28:53 +00:00
Mathias Jakobsen
a4c684e266
[cm6] Add toolbar event for figure modal trigger ( #13168 )
...
* [cm6] Add toolbar event for figure modal trigger
* [cm6] Add event to figure modal edit button
GitOrigin-RevId: 04add4f801647dfcc38a54e1969b03c4a31b2462
2023-06-01 08:04:16 +00:00
Domagoj Kriskovic
a05c201652
[cm6] indent figure modal generated code ( #13213 )
...
* [cm6] indent figure modal generated code
* fix: prettier
* fix indenting issues
* add licence on top
* fix cypress tests
GitOrigin-RevId: 8f74be537f19c2a29de3c742a9bbabe43b1ce40d
2023-06-01 08:03:49 +00:00
Tim Down
1336ff8196
Merge pull request #13169 from overleaf/dk-dropimg-handler
...
[cm6] added drop handler to rich text
GitOrigin-RevId: 9972b788d680645ee83c3bc9376b9446a2b068e9
2023-05-26 08:04:12 +00:00
Mathias Jakobsen
a06118b96d
Merge pull request #13142 from overleaf/mj-figure-modal-paste
...
[cm6] Add image paste handler to rich text
GitOrigin-RevId: 3c814bf64438b387b7b08b8bf89b917347371492
2023-05-22 08:04:42 +00:00
Mathias Jakobsen
480672bf7a
Merge pull request #13133 from overleaf/mj-wait-upload
...
[cm6] Wait for file to be ready before inserting code from figure modal
GitOrigin-RevId: 5c4e8f243518bacc7b6ef4272eaf44995192efbc
2023-05-22 08:04:10 +00:00
Christopher Hoskin
5bbe427ed0
Merge branch 'main' of github.com:overleaf/internal
...
GitOrigin-RevId: b0a13b4b4f7ede46d5ac5478dd03642d59e11a98
2023-05-22 08:04:01 +00:00
Alf Eaton
40eac4bd67
Remove fontWeight: bold from matched completion text ( #13078 )
...
GitOrigin-RevId: c375765ce0ca14200ba11c54ae1ac2c99a09961f
2023-05-19 08:04:17 +00:00
Mathias Jakobsen
47b1a731fb
Merge pull request #13118 from overleaf/mj-fix-centering-editable-graphics
...
[web] Always update centering in editablegraphics updateDOM
GitOrigin-RevId: 366a109c2006dea3cd3660f7a380fbbc0e203cca
2023-05-17 09:27:43 +00:00
Mathias Jakobsen
988fc57574
Merge pull request #13077 from overleaf/mj-figure-modal-tests
...
[web] Add cypress tests for figure modal
GitOrigin-RevId: 4debae1c665a68fd7bfa9f0dcfc150bec38a7c64
2023-05-17 08:06:33 +00:00
Mathias Jakobsen
f747cb000f
Merge pull request #13097 from overleaf/mj-figure-modal-alpha-changes
...
[cm6+rt] Figure Modal alpha rollout changes
GitOrigin-RevId: f7591893e8f74aa9c9b41f4b98babecaac4b3c8c
2023-05-17 08:06:08 +00:00
Alf Eaton
c7544531c1
Add needsRefresh to lint source config ( #13050 )
...
GitOrigin-RevId: bc6880f87bc81c7f0f022268a4d070c267421c46
2023-05-17 08:05:36 +00:00
Alf Eaton
c8a72e96d4
[cm6] Improve keyboard shortcuts for toggling line comments ( #13067 )
...
GitOrigin-RevId: dd08778ea3621eefa75f306b2dada3f2c484f76c
2023-05-17 08:05:28 +00:00
Alf Eaton
60370d5227
[cm6] Consolidate loose extensions ( #13086 )
...
GitOrigin-RevId: ff937418be5092b2b5197435e9cd60bc61f41b2c
2023-05-17 08:04:40 +00:00
Mathias Jakobsen
e306369b9a
Merge pull request #13085 from overleaf/mj-figure-rt-flicker
...
[cm6+rt] Reduce flickering of rendered figure
GitOrigin-RevId: a88845621228fa3a78ced023d5b5480ed600256a
2023-05-16 08:04:28 +00:00
Mathias Jakobsen
5fd4504f51
Merge pull request #13061 from overleaf/mj-cm6-translations
...
[web] Make translations accessible to CM6
GitOrigin-RevId: ef617638419597548e6e0545bac3ac94216177de
2023-05-16 08:04:11 +00:00
Mathias Jakobsen
31190b967b
[cm6] Add figure modal ( #12751 )
...
GitOrigin-RevId: 3043d1369ed85b38b1fec7479385b123a304c05b
2023-05-16 08:04:02 +00:00
Domagoj Kriskovic
47f541690f
[cm6] fix spell check issue, use new document range ( #13035 )
...
GitOrigin-RevId: 01b642dc867705c5de828fce439f424d7816d175
2023-05-15 08:02:57 +00:00
Alf Eaton
cc47299f62
Merge pull request #13033 from overleaf/ae-autocomplete-description
...
[cm6] Style the completion info to match the autocomplete tooltip
GitOrigin-RevId: d1a4db49fb0fff93e2004521ba8837131d321550
2023-05-11 08:05:46 +00:00
Alf Eaton
d445ddd410
Unset closeOnBlur
...
GitOrigin-RevId: 481c530c112f02562b7c01fad22cfe42ddfa62eb
2023-05-11 08:05:20 +00:00
Dom Kriskovic
eafa8589c5
Revert "[cm6] close autocomplete menu on blur"
...
This reverts commit d47648044ca15cf29cc0c87479ba2a204f232a86.
GitOrigin-RevId: dc6bbcc30126d46a3b602896bfc18477fd07ab34
2023-05-11 08:05:04 +00:00
Dom Kriskovic
4c2537a753
[cm6] close autocomplete menu on blur
...
GitOrigin-RevId: e1475e1a1b4a0f05ab2926cfc5612abb3b9f39e8
2023-05-11 08:04:56 +00:00
Alf Eaton
466011df86
[cm6] Account for line shifts when updating the spelling line tracker ( #13015 )
...
* Use lineShift
* Use fromA instead of fromB
* Only check the update doc
* Always use oldDoc
* Copy tests
GitOrigin-RevId: 05e5516b09ee4a25d8ac2b5f2994a034f35c9e82
2023-05-11 08:04:48 +00:00
Domagoj Kriskovic
27ffe1c814
[cm6] Display non-standard spaces as special chars ( #12927 )
...
* [cm6] Display non-standard spaces as special chars
* specialChar background color
* removed Ideographic Space
* fix: lint error
* added Ideographic Space
* display only for source editor
GitOrigin-RevId: d94942cdc6a0aa17045b1783ac95de601f6ae15a
2023-05-08 08:04:18 +00:00
Alf Eaton
680a02892c
Duplicate the cloneSelectionVertically key mapping to re-allow Ctrl on macOS ( #12918 )
...
GitOrigin-RevId: 747e8889b5e3b34dd9ffef888f4a1d42fea1af74
2023-05-04 08:05:31 +00:00
Alf Eaton
b010d6a5d3
Handle unset editor theme ( #12892 )
...
GitOrigin-RevId: 0e3413c08c6fd0752cd90ee868fec9b0f9f77437
2023-05-04 08:05:14 +00:00
Alf Eaton
09c5bf72d2
[cm6] Use Cmd on macOS for cloneSelectionVertically ( #12855 )
...
GitOrigin-RevId: ea72da47f2ebb377cf22af061ab616a021950502
2023-05-04 08:04:57 +00:00
Alf Eaton
6c21f0821c
[cm6] Handle multiple selection ranges when applying snippets ( #12830 )
...
* Use fork of @codemirror/autocomplete
* Handle multiple selection ranges when applying snippets
GitOrigin-RevId: 04afc087ac127206463ea3d4950284a50308364a
2023-05-04 08:04:39 +00:00
Alf Eaton
e0d9069131
[cm6] Add "within selection" option to the search form ( #12798 )
...
* Use forked @codemirror/search
* Use getPanel to get the search panel
* Remove layer-based highlightSelectionMatches
* Add "within selection" option to the search form
* Add test for "replace all within selection"
* Fix tests
GitOrigin-RevId: 95ce76fd017f96278b04c16a1fd34f785f7504a3
2023-05-01 08:05:02 +00:00
Alf Eaton
1da94f029c
[cm6] Avoid selecting a search match when re-opening the search panel ( #12797 )
...
GitOrigin-RevId: 32bb03b71ce56cc0dbe6f7c92cc6d85151ef1971
2023-05-01 08:04:36 +00:00
Alf Eaton
40cbfc451a
[cm6] Improve search match scrolling into view ( #12787 )
...
GitOrigin-RevId: 6ce9b86253a9c3a2c6ff44c10f78204ff16bd6e2
2023-05-01 08:04:27 +00:00
Domagoj Kriskovic
cd689e4e1f
[cm6] Show Regex errors in find & replace ( #12720 )
...
* [cm6] Show Regex errors in find & replace
* cleanup, isInvalidRegExp function
* no state variable, less color var
* use @brand-dager
* using var(--ol-cm-search-form-focus-shadow)
* using state-danger-border
GitOrigin-RevId: 844c9dfee5a56d2a7494cd86c266acbe9eacd033
2023-04-27 08:05:14 +00:00
Mathias Jakobsen
17ca11fae0
[cm6] Add save command to emacs (recompiles doc) ( #12742 )
...
GitOrigin-RevId: 10cda3f14411147d0d900f688d9b5017f49d2db2
2023-04-25 08:05:35 +00:00
Alf Eaton
f409b96f00
Fix padding in emptyLineFiller and lineWrappingIndentation extensions ( #12736 )
...
GitOrigin-RevId: 8b6a2ad0beb802d917f3e998c378792c6156836a
2023-04-25 08:05:27 +00:00
Alf Eaton
8537a7a5d0
Handle mode: 'none' in keybindings ( #12717 )
...
GitOrigin-RevId: 77d040352b1de2311f663a8b33bd0d20d79a30ae
2023-04-25 08:05:18 +00:00
Alf Eaton
4bb582bdd8
[cm6] Improve Tab behaviour in read-only mode ( #12715 )
...
* Improve Tab behaviour in read-only mode
* Remove Tab shortcuts from Markdown configuration
GitOrigin-RevId: 9eb804fcf820b37b371b1c351cfbdf7bff1ced89
2023-04-25 08:05:10 +00:00
Alf Eaton
08ccdb79d3
[cm6] Improve alignment of review panel elements ( #12710 )
...
* Use a block widget for top padding
* Update review panel positions when the editor geometry changes
* Remove editorPaddingTop from position calculations
* Recalculate review panel on start adding comment
* Assert on line content rather than index
* Use broadcastChange
* Keep focus in the editor when opening the review panel
* debounce broadcastChange
* Set CULL_AFTER to Infinity
GitOrigin-RevId: a8d7b8967736a9164b5264eeaadf334c15ec95ce
2023-04-25 08:05:02 +00:00
Alf Eaton
acf6abb0fb
[cm6] Use a block widget for padding at the top of the editor ( #12705 )
...
GitOrigin-RevId: 000ce9c90ea6b2ca72ab969704354a19fcea7a87
2023-04-25 08:04:53 +00:00
Mathias Jakobsen
81a8fa2ce3
Merge pull request #12672 from overleaf/ae-emacs-compile-keydown
...
[cm6] Stop propagation of Ctrl-s when Emacs keybindings are enabled
GitOrigin-RevId: 32bebefb583ad813931af221cce7498d40fdbaf1
2023-04-21 08:03:11 +00:00
Mathias Jakobsen
3bd174631a
Merge pull request #12696 from overleaf/mj-rt-skip-more-preamble
...
[cm6+rt] Update skip-preamble-cursor to skip \maketitle and abstract
GitOrigin-RevId: 3c54d8159bfdb431763872790a2b82ac4cffc09f
2023-04-21 08:02:59 +00:00
Mathias Jakobsen
59b3b9b933
Merge pull request #12631 from overleaf/ae-readonly-focus
...
[cm6] Prevent the editor being focused when read-only
GitOrigin-RevId: 7de9f2df2421b57b3315d59d640f7c8b46caf178
2023-04-21 08:02:56 +00:00
Mathias Jakobsen
c2292a8567
Merge pull request #12677 from overleaf/ae-codemirror-view-upgrade
...
[cm6] Upgrade CodeMirror dependencies
GitOrigin-RevId: cc973b1c5b23eca0fc93a9b3a970c832212e47af
2023-04-21 08:02:53 +00:00
Alf Eaton
924012e21f
[cm6] Avoid overwriting themed syntax highlighting colours when editing Markdown ( #12648 )
...
GitOrigin-RevId: ed5d558544839978862004a8b7feb80806a2100d
2023-04-19 08:03:04 +00:00
Alf Eaton
5717f51042
Merge pull request #12643 from overleaf/ae-initial-active-line-highlight
...
[cm6] Fix initial active line highlight
GitOrigin-RevId: 54de6a176e826ed7d7f1016ba6cee7a8803f0be4
2023-04-19 08:02:53 +00:00
Alf Eaton
63b2064420
[cm6] Add scrollIntoView when commands are dispatched ( #11678 )
...
GitOrigin-RevId: be005885330b9b29c7ddbfeacaec0a41d96e5e25
2023-04-17 08:05:33 +00:00
Mathias Jakobsen
4b2cc907e2
[cm6] Change Emacs commands to visual-line-mode ( #12523 )
...
* [cm6] Change Emacs commands to visual-line-mode
* [cm6] Change line deletion commands to visual line mode
GitOrigin-RevId: 7a4f3d66bec611de410b6c1fbafbfe33b974e37b
2023-04-17 08:05:08 +00:00