Files
cappuccino/Tests/AppKit
David Richardson cc120e514a AppKit: Add superscript, subscript, and baseline management to CPTextView
CPTextView lacked the superscript:, subscript:, unscript:, raiseBaseline:, and lowerBaseline: action methods.
Consequently, standard Baseline menu items targeting these actions were automatically disabled,
even though CPTypesetter and _CPLineFragment already possessed full layout support for baseline offset and superscript attributes.

* AppKit/CPTextView/CPTextView.j:
  - Implement superscript:, subscript:, unscript:, raiseBaseline:, and lowerBaseline:.
  - Apply attribute modifications to selected ranges or current typingAttributes.
  - Register baseline operations with CPUndoManager.
  - Implement menu validation logic to enable baseline actions only when the text view is editable and richText is true.

* Tests/AppKit/CPTextViewTest.j:
  - Add unit tests for superscript levels and baseline offsets across text ranges and typing attributes.
  - Add test coverage for menu validation.

* Tests/Manual/TextEditor/WORKLIST.md:
  - Remove resolved baseline management entry.
  - Expand documentation on text layout and line fragment drawing.
  - Document open items: Justify crash, kerning/ligature settings, and Font Panel integration.
  - Note optimal line breaking as a candidate feature for future improvement.
2026-10-24 09:44:06 -06:00
..
2013-01-20 19:10:41 +00:00
2011-04-23 15:50:32 +02:00
2011-04-25 14:12:52 +02:00
2025-07-05 12:29:11 +02:00
2026-02-28 18:26:47 +01:00
2025-07-05 12:33:21 +02:00
2025-07-05 12:35:43 +02:00
2025-07-05 09:04:26 +02:00
2025-09-04 11:54:06 +03:00
2015-10-23 10:19:14 +02:00
2026-08-25 20:39:34 +02:00
2025-06-22 21:52:57 +02:00