User Details
- User Since
- Oct 16 2021, 7:13 AM (161 w, 5 d)
- Availability
- Available
- LDAP User
- Bhsd
- MediaWiki User
- Unknown
Today
@MusikAnimal This problem may be severer than I used to think. For instance, the page S. S. Rajamouli crashes when editing with CodeMirror 6. I am running real-world CM6 parser tests using English Wikipedia, and parsing this page even fails in Node.js.
Fri, Nov 15
Sat, Nov 9
The misalignment I reported earlier has been fixed.
Sat, Oct 26
The Ctrl B and Ctrl I behaviors in the 2010 Wikitext editor will be changed for T62928.
Oct 3 2024
Automatic indentation detection is not yet available from CodeMirror, and the indentUnit config has to be consistent throughout one document. Therefore, if we prescribe one tab as the default, then the editor will always indent with tabs even where spaces are used. One possible solution is to add this config to the future preferences panel (T386398) so that the user can choose appropriate indentUnit.
Are you requesting automatic indentation detection or literally tabs?
Oct 1 2024
Sep 10 2024
Sep 5 2024
Using the same article that dom_walden mentions, I see misalignment with hyphen-related line wrapping on L174, and the problem is only present in CM6.
Sep 3 2024
I am surprised to see that white-space: pre-wrap is performing better than white-space: break-spaces in certain conditions. By the way, I notice that the misalignment also appears when switching between LTR and RTL.
Aug 31 2024
Aug 30 2024
Aug 29 2024
I tried white-space: break-spaces following T347902 in my browser, and it solved the misalignment problem for me.
Aug 27 2024
Aug 26 2024
Aug 22 2024
Sorry, but why is CodeMirror loaded on a JavaScript page? Are you talking about CodeEditor instead?
Aug 20 2024
Aug 19 2024
Aug 18 2024
There is one remaining case to be fixed. The patch has been uploaded.
Aug 16 2024
Aug 14 2024
Thank you all for your support!
Aug 1 2024
Jul 31 2024
Jul 24 2024
Jul 21 2024
Jun 21 2024
I think ESM does have an advantage over CJS that it supports better tree-shaking? This could be important for CM6 in order to reduce the bundle size.
Jun 12 2024
For now, how about simply hiding the folding tooltip when typing?
My original idea was to leave the folding gutter for headings and tables. Below is an example:
Jun 10 2024
@MusikAnimal @IKhitron Thanks for your replies! I have submitted the patch for the key binding, and the part about Compartment may also be useful to T386398.
Jun 8 2024
Jun 7 2024
I would like to work on the Mod-Shift-x key binding to toggle between LTR and RTL. Before doing that, have we heard any feedback from hewiki where CodeMirror 6 has already been deployed?
Jun 5 2024
The solution has been discussed and submitted to Gerrit for 2 months, and we just need someone to review it ( 2).
Maybe related: @codemirror/[email protected]
Jun 4 2024
May 29 2024
May 28 2024
May 23 2024
May 17 2024
May 16 2024
May 15 2024
CodeMirror 6 intentionally sets the Ctrl Shift Z shortcut only for Linux (ref), but of course we can easily add it back for Windows.
Unable to reproduce on my MacBook, no matter using Safari, Firefox, Chrome or Edge.
May 12 2024
May 11 2024
Sorry, I still find it challenging to support page name autocompletion without substantial changes in the tokenizer. Therefore, I will leave it as a future task, and just finish my patch with additional autocompletion for url protocols (attached).
May 4 2024
Work in progress related to autocompletion for page links. The #invoke example requires additional changes in the MediaWiki StreamParser, so I'd better leave it for a future ticket if someone asks.
May 3 2024
Apr 29 2024
Apr 24 2024
Apr 17 2024
Apr 16 2024
@MusikAnimal What do you think? The unfoldAll functionality is provided by the @codemirror/language library, so we may have little room to improve. Should we disable it, or warn its usage in the documentation?
Apr 15 2024
How about manually dispatch a focus/blur event then? This will not reset the focused element.
@dom_walden Does CodeMirror stop functioning after the error? Sorry, I am unable to reproduce it on my MacBook Firefox, so I would like to learn more about it.
Apr 14 2024
Apr 4 2024
@Vuccala I guess you are using Firefox? This feature seems irrelevant for other browsers.
@Vuccala Sorry, I am unable to watch the video. May I know how you can have multiple selections at a time?
Apr 1 2024
Mar 28 2024
Mar 15 2024
This is cool! Thanks!
Mar 10 2024
This bug was not only relevant to Chromium. I could reproduce it using Firefox on macOS before it was fixed.
Mar 9 2024
Mar 8 2024
Mar 1 2024
Feb 28 2024
Another type of correct syntax for an indented table:
There are many more punctuation in addition to hyphen, given on L915. I also notice another type of mistake with <a!-- recognized as HTML comments.