mirror of
https://github.com/storytold/deckcraft.git
synced 2026-10-24 18:46:57 -06:00
While you edit text, the horizontal ruler now shows the text area's span and the indent and tab markers of the paragraph with the caret. - First-line indent: the top triangle. - Hanging indent: the bottom triangle. Dragging it moves the left indent while the first line stays put. - Left indent: the box under the hanging triangle. Dragging it moves both. - Tab stops are drawn as left, centre, right and decimal marks. - A click on the ruler adds a left tab, dragging a tab moves it, and dragging a tab down off the ruler removes it. Every change goes through a command (format.paragraph or the new format.tabs). Each is one undo step and applies to the selected paragraphs, and text editing goes on throughout. format.ruler is a new query that reports the text area's position and the paragraph's resolved indents and tabs. Rotated and vertical text show no markers. Co-authored-by: Cursor <cursoragent@cursor.com>