Commit graph

39 commits

Author SHA1 Message Date
nico
348f469ee4 Fixed problem when fixing up paragraph style attributes ... would get
into an infinite loop if no style was set at the beginning of paragraph


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11596 72102866-910b-0410-8b05-ffd578937521
2001-12-02 11:12:52 +00:00
FredKiefer
4fbe4469d1 Protected all initXXX methods so that for empty input nil will be
returned.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11098 72102866-910b-0410-8b05-ffd578937521
2001-10-06 22:30:54 +00:00
FredKiefer
3905d62a8f Implemented [readFromURL:options:documentAttributes:]. In
[applyFontTraits:range:] use [NSFontManager
convertFont:toHaveTrait:] instead of explicit font creation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10923 72102866-910b-0410-8b05-ffd578937521
2001-09-17 12:09:40 +00:00
fedor
60a7ef53c8 Moved text conversion classes to separate bundle
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10755 72102866-910b-0410-8b05-ffd578937521
2001-08-21 14:52:00 +00:00
FredKiefer
d8b63f8de9 Include GSTextConverter.h. New function converter_class() to load
the class for a given text converter format. Use this function in
the RTF methods and use new protocol there.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10720 72102866-910b-0410-8b05-ffd578937521
2001-08-18 22:03:17 +00:00
richard
d77897ddc3 Selection fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8450 72102866-910b-0410-8b05-ffd578937521
2000-12-27 06:28:29 +00:00
richard
f38731f7ca Handle apostrophes and hyphens within words.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8415 72102866-910b-0410-8b05-ffd578937521
2000-12-23 07:10:27 +00:00
nico
fb8b620d44 Optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8321 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:57 +00:00
richard
00418ee526 Added some fixes for Apple runtime
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7940 72102866-910b-0410-8b05-ffd578937521
2000-10-31 12:47:09 +00:00
FredKiefer
723c50ad65 Small correction in [fixParagraphStyleAttributeInRange]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7765 72102866-910b-0410-8b05-ffd578937521
2000-10-08 20:29:12 +00:00
FredKiefer
7cf72d436f Corrected bug in [nextWordFromIndex:forward:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7364 72102866-910b-0410-8b05-ffd578937521
2000-09-03 21:02:00 +00:00
fedor
ceda7aa91c Merge 0.6.6 branch into main.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7188 72102866-910b-0410-8b05-ffd578937521
2000-08-07 22:06:04 +00:00
FredKiefer
bf8474bc8a Use new RTFD methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6858 72102866-910b-0410-8b05-ffd578937521
2000-07-02 16:54:20 +00:00
richard
1739abf2af Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6811 72102866-910b-0410-8b05-ffd578937521
2000-06-26 21:29:47 +00:00
FredKiefer
c805ceef35 Use new NSTextAttachment class
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6806 72102866-910b-0410-8b05-ffd578937521
2000-06-26 19:54:09 +00:00
FredKiefer
15fb40d163 Moved RTF output code to Source/Parser/RTFProducer.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6788 72102866-910b-0410-8b05-ffd578937521
2000-06-24 22:14:01 +00:00
FredKiefer
8011f00fd7 Adopted to new RTF interface. Implemented attachment creation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6700 72102866-910b-0410-8b05-ffd578937521
2000-06-16 17:04:57 +00:00
FredKiefer
305505e1ff Added header.
RTFHeaderStringWithContext: convert colour to RGB


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6656 72102866-910b-0410-8b05-ffd578937521
2000-06-10 16:19:50 +00:00
richard
ef98c0cf61 Minor retain/release fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6637 72102866-910b-0410-8b05-ffd578937521
2000-06-03 04:47:10 +00:00
FredKiefer
98a7625805 In [setAlignment:range:] always use a muable copy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6612 72102866-910b-0410-8b05-ffd578937521
2000-05-23 22:56:16 +00:00
FredKiefer
4613b1db24 Corrected [setAlignment:range:] and [nextWordFromIndex:forward:]
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6601 72102866-910b-0410-8b05-ffd578937521
2000-05-20 16:54:05 +00:00
FredKiefer
0b44105acc RTFBodyStringWithContext: Corrected output of subscript
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6582 72102866-910b-0410-8b05-ffd578937521
2000-05-07 22:26:35 +00:00
FredKiefer
c4e99ce30e Corrected lineBreakBeforeIndex:withinRange: and reorganised the
initWithRTF* methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6564 72102866-910b-0410-8b05-ffd578937521
2000-05-04 22:39:34 +00:00
FredKiefer
ab7725df79 Moved method for RTF init in this file
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6501 72102866-910b-0410-8b05-ffd578937521
2000-04-23 22:29:47 +00:00
richard
5e57d2f303 Attributed string fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6433 72102866-910b-0410-8b05-ffd578937521
2000-04-07 09:54:35 +00:00
richard
f6bf8a8acd NSText can save rtf
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6407 72102866-910b-0410-8b05-ffd578937521
2000-04-02 05:58:50 +00:00
fedor
30f9db06dc RTF Parser
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5543 72102866-910b-0410-8b05-ffd578937521
1999-12-16 22:56:45 +00:00
richard
f3bc17cc39 RTFD additions
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5295 72102866-910b-0410-8b05-ffd578937521
1999-11-26 20:17:21 +00:00
michael
f6a85c5407 Fixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5262 72102866-910b-0410-8b05-ffd578937521
1999-11-22 21:48:03 +00:00
michael
9870f513bc Lots of fixes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4844 72102866-910b-0410-8b05-ffd578937521
1999-09-07 08:59:35 +00:00
richard
3eb705875f Attributed string additions implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4815 72102866-910b-0410-8b05-ffd578937521
1999-09-03 21:25:27 +00:00
richard
891b3f5f38 implement a couple of methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4752 72102866-910b-0410-8b05-ffd578937521
1999-08-23 05:22:01 +00:00
michael
e3be87461b More fixes to NSAttributedString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4650 72102866-910b-0410-8b05-ffd578937521
1999-07-25 22:25:23 +00:00
michael
c05134b825 More fixes, added NSAttributedString.m
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4649 72102866-910b-0410-8b05-ffd578937521
1999-07-25 21:44:07 +00:00
far
b77483cabe * NSAttributedString.m and NSAttributedString.h remove.
* NSStringDrawing.m and NSStringDrawing.h add NSAttributedString interface
	and implementation.  Implement NSAttributedString's size method and
	optimize tab width calculation.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3352 72102866-910b-0410-8b05-ffd578937521
1998-11-30 09:40:01 +00:00
far
65a0194e32 gui changes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3164 72102866-910b-0410-8b05-ffd578937521
1998-11-02 17:42:23 +00:00
far
7b617e62a2 optimizations
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3084 72102866-910b-0410-8b05-ffd578937521
1998-10-19 06:10:49 +00:00
far
748f6b3661 * NSApplication.m minor optimiztions.
* NSAttributedString.m sizeWithAttributes: implement tab support.
	* NSStringDrawing.m sizeWithAttributes: implement tab support.
	* NSScroller.m trackScrollButtons: add temporary hack in support of XRAW's
		heavily optimized scrolling machinery.
	* NSScroller.m remove sendAction:to:
	* NSScrolView.m _doScroll: implement scroller update when scrolling via
		buttons
	* NSScrolView.m reflectScrolledClipView comment out setNeedsDisplay as it
		causes display flicker.
	* NSText.m add changes from Daniel B�hringer, set initFrame to default
		values to prevent infinite loop in rebuildLineLayout, minor tweaks
	* NSView.m minor optimiztions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3071 72102866-910b-0410-8b05-ffd578937521
1998-10-15 12:04:53 +00:00
far
ea0a0e722a * GNUmakefile added NSAttributedString.m, NSAttributedString.h,
NSParagraphStyle.m, NSTextAttachment.h, NSTextContainer.h,
		NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h.
	* Source added NSParagraphStyle.m.
	* Headers/Appkit added NSTextAttachment.h, NSTextContainer.h,
		NSTextStorage.h, NSLayoutManager.h and NSParagraphStyle.h files.
	* NSText.m and NSText.h. added numerous changes by Daniel B�hringer
	* NSTextView.m and NSTextView.h. added numerous changes by Daniel B�hringer


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2944 72102866-910b-0410-8b05-ffd578937521
1998-09-01 13:23:23 +00:00