makepad/code_editor/src
Admin 7b121c847a draw and widgets: app-drawn captions, kept render targets, lazy CJK and emoji fonts
Every makepad window draws its own caption under the WM, with the chrome
its theme declares; a window may drag from anywhere (not while
fullscreen), and declares what a double click on its caption does
(maximise or true fullscreen). An app's theme pick and own theme tokens stand over the window
system's sheet. Kept render targets keep their picture between frames and
while a pipeline compiles, and carry their name in the GPU ledger. Every
font family falls back to lazy CJK and emoji faces (widgets/fonts, a copy,
is deleted); glyphs a kept draw list shows stay in use. One cell width
table for monospace grids (libs/cell_width). Media: one glass
PlayerControls + VideoPlayer. RecentList for the places an app opened.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 07:24:22 +02:00
..
app.rs widgets, platform, script, draw: clean builds 7-9 s faster -- rare widgets leave widgets-core, the tweaker leaves the front crate, network and math_aot leave the build chain, and less generated code 2026-09-29 01:55:14 +02:00
char.rs draw and widgets: app-drawn captions, kept render targets, lazy CJK and emoji fonts 2026-10-14 07:24:22 +02:00
code_editor.rs draw and widgets: Slug text everywhere, no blank glyphs, slimmer widgets 2026-10-13 12:26:21 +02:00
code_view.rs draw and widgets: Slug text everywhere, no blank glyphs, slimmer widgets 2026-10-13 12:26:21 +02:00
decoration.rs platform: retained draw lists, shared publications and GPU residency (DL-0..DL-5) 2026-09-15 13:40:23 +02:00
diff.rs Share language tokenizers with the code editor on work 2026-09-18 12:12:36 +02:00
document.rs draw and widgets: Slug text everywhere, no blank glyphs, slimmer widgets 2026-10-13 12:26:21 +02:00
draw_selection.rs widgets, platform, script, draw: clean builds 7-9 s faster -- rare widgets leave widgets-core, the tweaker leaves the front crate, network and math_aot leave the build chain, and less generated code 2026-09-29 01:55:14 +02:00
history.rs First 2.0 2026-02-12 14:52:33 +01:00
inlays.rs Initial commit 2025-05-06 10:11:37 +02:00
iter.rs Initial commit 2025-05-06 10:11:37 +02:00
layout.rs code_editor: inline inlays a host can set, and the text after one is laid out -- CodeDocument::set_inline_inlays reserves columns inside lines (a host's controls next to a value: Stage's colour swatches, ease curves, choice chips), CodeSession::relayout_inline re-measures widths, wraps and positions after they change, CodeDocument::is_same tells a document from a copy of its text. Fix: WrappedElements never advanced past an inline widget, so every inline inlay swallowed the rest of its line and logical_to_grid_position panicked at its end (no host had set one before). Checked: cargo test --release -p makepad-code-editor (28; new inline_inlays_reserve_columns_and_follow_their_text, inline_inlays_every_byte_has_a_grid_position). 2026-10-01 18:01:09 +02:00
lib.rs widgets, platform, script, draw: clean builds 7-9 s faster -- rare widgets leave widgets-core, the tweaker leaves the front crate, network and math_aot leave the build chain, and less generated code 2026-09-29 01:55:14 +02:00
selection.rs First 2.0 2026-02-12 14:52:33 +01:00
session.rs code_editor: folds set at once, and centring is not clipped to the old length -- a host jumping to a line it unfolded lands on it at once 2026-10-02 09:40:08 +02:00
settings.rs Initial commit 2025-05-06 10:11:37 +02:00
str.rs widgets: glass, dock, tweaker, themes, code_editor, phone shell 2026-09-15 13:38:48 +02:00
test.rs widgets, platform, script, draw: clean builds 7-9 s faster -- rare widgets leave widgets-core, the tweaker leaves the front crate, network and math_aot leave the build chain, and less generated code 2026-09-29 01:55:14 +02:00
text.rs platform: retained draw lists, shared publications and GPU residency (DL-0..DL-5) 2026-09-15 13:40:23 +02:00
token.rs widgets: glass, dock, tweaker, themes, code_editor, phone shell 2026-09-15 13:38:48 +02:00
tokenizer.rs code editor: raw strings are strings in Splash and Rust highlighting, and a host can read the scroll -- r"…" and r#"…"# (Splash's new raw strings) colour as strings, across lines 2026-10-02 10:24:12 +02:00
widgets.rs Initial commit 2025-05-06 10:11:37 +02:00
wrap.rs widgets: glass, dock, tweaker, themes, code_editor, phone shell 2026-09-15 13:38:48 +02:00