Board Thread:Technical Updates/@comment-957747-20190222204533/@comment-24692230-20190301030001

FishTank wrote: Sophiedp wrote: Ace still has some issues tho, like the settings page, the textarea height after expanding, not highlighting everything, and changing how it highlights stuff based on if your viewing the page or editing. (tho now that I think about it idk if ace does syntaxhighlighting when you're viewing the page.) Ace is separate from the syntax highlighter, though admittedly Ace's highlighter can not fully understand very complex code or mixed code languages (such as wikitext inside XML); these is a typical issue for code editors in general. The textarea height after expansion should be dynamic based on screen size.

I'm not familiar with the settings page you're referring to, though. Could you elaborate? Ye, I was thinking it was separate, but I wasn't 100% sure. https://chito.ge/3Tupa58.png (viewing) vs https://chito.ge/3ZAz1m2.png (editing), plus https://chito.ge/12jggSZ.png (viewing and editing). Also https://chito.ge/3jCj9pn.png (editing) vs https://chito.ge/2pY8bTs.png (viewing). Basically the highlighting is different based on if you're editing or viewing, plus it not highlighting everything. Huh, because it doesn't, hence why I created FixAceWidemode.

Act like you're typing in ace, and then press control + comma.

Also the extra two lines that end up getting added in the editor.