Files
cappuccino/Tools/nib2cib
David Richardson 8e4742a250 AppKit: Carry Interface Builder's Uses Ruler setting into cibs
nib2cib ignored the text view's Uses Ruler setting, and CPTextView, CPRulerView and CPRulerMarker archived none of their ruler state, so a ruler could not be configured in Interface Builder or survive archiving.

* CPScrollView.j: Set itself as the scroll view of decoded rulers.

* CPTextView/CPRulerMarker.j: Archive the marker's ruler, location, image and image origin, movability, removability and represented object.

* CPTextView/CPRulerView.j: Archive the ruler's orientation, client view, accessory view, markers, thicknesses, origin offset and measurement units.

* CPTextView/CPTextView.j: Archive usesRuler.

* Tools/nib2cib/NSTextView.j, Tools/nib2cib/NSTextViewSharedData.j: Read the Uses Ruler flag.

* Tests/AppKit/CPRulerViewTest.j: Add tests for ruler layout, measurement units, archiving and the Uses Ruler setting.

* Tests/Manual/TextEditor/Resources/MainMenu.xib, Resources/MainMenu.cib: Add the standard Format menu, whose Text submenu shows and hides the ruler.

* Tests/Manual/TextEditor/Resources/DocumentWindow.xib, Resources/DocumentWindow.cib: Rebuild the cib with the ruler setting, and adjust the window's initial position.
2026-10-23 21:10:17 -06:00
..
2016-03-06 18:47:58 -08:00
2010-12-01 11:04:17 -08:00
2020-11-06 07:25:21 +01:00
2020-10-02 12:59:32 +02:00
2010-12-01 11:04:17 -08:00
2013-01-18 14:29:25 -08:00
2014-08-18 13:08:09 -07:00
2013-01-18 14:29:25 -08:00
2009-11-01 15:05:22 -08:00
2021-08-19 10:56:13 +02:00
2016-01-03 15:26:06 -08:00
2014-09-02 17:39:33 -07:00
2013-01-23 15:48:56 +07:00
2021-09-17 10:37:03 +02:00
2012-04-12 12:09:24 -04:00
2012-03-31 18:40:47 -07:00
2014-08-18 13:08:09 -07:00
2010-12-01 11:04:17 -08:00
2010-12-01 11:04:17 -08:00
2013-01-23 15:48:56 +07:00
2018-10-27 12:01:57 +02:00
2015-03-24 23:42:44 +01:00
2014-08-18 13:09:15 -07:00
2013-01-22 13:10:55 -08:00
2010-12-01 11:04:17 -08:00
2013-01-23 15:48:56 +07:00
2010-12-01 11:04:17 -08:00