Friday's post covered how we fund this work without the bait-and-switch; today is the engineering side of the same week, with two new visual editors.
What is Codename One? Codename One is an open-source framework for building native iOS, Android, desktop, and web apps from a single Java or Kotlin codebase. Learn more at codenameone.com.
PR #5272 adds two components: RichTextArea, a WYSIWYG rich text editor, and CodeEditor, an IDE-style code editor with syntax highlighting. They are different on the surface and identical underneath, which is the part worth explaining first.
One abstraction, two backends
Both editors extend AbstractEditorComponent. That base class does not draw anything itself. It speaks a small semantic channel of commands ("apply bold", "set language to java"), queries ("give me the current HTML") and events ("the text changed") to whatever backend is attached. The component never assumes how the editor is rendered, only what it can ask for and what it gets told back.






