Commit Graph

18 Commits

Author SHA1 Message Date
Aditya Nrusimha eb97875282 Switched to CFIndex. 2012-09-25 23:02:20 -07:00
Aditya Nrusimha 97e759a505 Removed commented code. 2012-09-22 18:10:20 -07:00
galaxas0 602b4465e5 Fixed tabbing. 2012-09-19 18:33:45 -07:00
Aditya Nrusimha 9dff724e7d Added up/down navigation and Alt+Enter support for TUITextRenderer 2012-09-18 16:41:47 -07:00
joshaber 33588842d3 more ARC fixes 2012-04-09 14:48:54 -04:00
joshaber 8bd71fb704 Merge remote-tracking branch 'upstream/master' into dev
Conflicts:
	TwUI.xcodeproj/project.pbxproj
	lib/Support/CoreText+Additions.m
	lib/UIKit/TUIAttributedString.m
	lib/UIKit/TUIControl.m
	lib/UIKit/TUINSView.h
	lib/UIKit/TUINSView.m
	lib/UIKit/TUINSWindow.m
	lib/UIKit/TUITableView.m
	lib/UIKit/TUITableViewCell.m
	lib/UIKit/TUITextRenderer.m
	lib/UIKit/TUITextView.m
	lib/UIKit/TUIView.m
2012-04-09 14:48:41 -04:00
Danny Greg 6378b91303 Merge branch 'dev' of github.com:github/twui into dev 2012-04-03 19:45:15 +01:00
Danny Greg 476cc73a31 Change how we calculate height for a group of text. Previous to this changes, we would unecessarily add height when the frame contained multiple lines of text. 2012-04-03 19:43:18 +01:00
joshaber d2f0c49c7c fixed a potential underflow 2012-04-02 13:11:50 -04:00
joshaber 194c39e878 allocate all the line origin arrays in the heap instead of the stack
it's much safer and less likely to smash the stack if you're dealing
with a large frame
2011-12-20 14:17:38 -05:00
Justin Spahr-Summers fac056b03c ARC migration, baby.
Conflicts:

	TwUI.xcodeproj/project.pbxproj
2011-11-12 17:44:11 -08:00
Justin Spahr-Summers a55ab10bdd Fix ARC precheck warnings in CoreText additions 2011-11-12 17:43:39 -08:00
joshaber e77049c59c only get the line bounds after we know we want that line 2011-11-10 10:54:10 -08:00
joshaber 91f061b065 corrected the height calculation for CTFrame 2011-11-08 11:20:36 -08:00
joshaber cf4d1c6c1d fixed a bug with determining the height of the first line 2011-09-27 15:51:38 -07:00
joshaber 1a000d807a use a better line height measurement that takes into account line spacing 2011-08-25 12:38:20 -04:00
joshaber 952bac2ce5 added a CTLine rect aggregation type for AB_CTFrameGetRectsForRange and made AB_CTFrameGetSize more correct especially for long strings 2011-07-08 12:45:47 -07:00
Loren Brichter 2a704ca1fb TwUI 0.1 2011-07-01 14:18:11 -04:00