Commit graph

62 commits

Author SHA1 Message Date
Wolfgang Lux
28b86a0bae Double clicking on a white space character also selects the
surrounding white space as on OS X.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27131 72102866-910b-0410-8b05-ffd578937521
2008-11-25 21:46:23 +00:00
Adam Fedor
7afdd32ac1 Revert library license version to 2 until applications can be converted
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26619 72102866-910b-0410-8b05-ffd578937521
2008-06-10 04:01:49 +00:00
Fred Kiefer
45ada7b31d Limit the amount of character sets cached by the font substitution code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@26547 72102866-910b-0410-8b05-ffd578937521
2008-05-20 23:53:42 +00:00
Fred Kiefer
193e31e678 Change all files to use GPL 3 and LGPL 3.
Prepare for next release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25536 72102866-910b-0410-8b05-ffd578937521
2007-10-29 21:16:17 +00:00
Fred Kiefer
5ac3cf358b Ignore characters below 31 in font substitution.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25404 72102866-910b-0410-8b05-ffd578937521
2007-08-21 09:04:52 +00:00
Fred Kiefer
1a13394fea Let the font manager handle the font convertion for font subsitution.
Correct printing for the case where we know the page range.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25386 72102866-910b-0410-8b05-ffd578937521
2007-08-12 20:12:19 +00:00
Fred Kiefer
f6460ab632 First attempt at font attribute fixing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25384 72102866-910b-0410-8b05-ffd578937521
2007-08-09 09:39:50 +00:00
Fred Kiefer
4835a35c1c Add new MacOSX methods. Code mostly by Nikolaus Schaller.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25270 72102866-910b-0410-8b05-ffd578937521
2007-06-18 21:08:54 +00:00
Richard Frith-MacDonald
561b06efe1 Add attributed string constants for Riccardo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24932 72102866-910b-0410-8b05-ffd578937521
2007-03-26 13:37:33 +00:00
Fred Kiefer
34b0abf4d0 Added MacOS 10.4 methods for NSDocument, NSDocumentController,
NSPrintOperation, NSResponder and NSCell.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24378 72102866-910b-0410-8b05-ffd578937521
2007-01-17 12:09:41 +00:00
Matt Rice
abfea70cf8 * Source/NSTextView_actions.m: Change cursor movement implementations
when collapsing a selection.
        * Source/NSParagraphStyle.m (-setBaseWritingDirection:): Add comment.
        * Source/NSAttributedString: Add and remove characters in the word
        break character set.
        * KeyBindings/DefaultKeyBindings.dict: Change control-f and control-b
        to moveForward: and moveBackward:



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24136 72102866-910b-0410-8b05-ffd578937521
2006-11-20 16:20:15 +00:00
Richard Frith-MacDonald
45acf44de1 documentation cleanups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
2006-11-06 13:58:37 +00:00
Adam Fedor
303dd1baf9 Update FSF Address.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21259 72102866-910b-0410-8b05-ffd578937521
2005-05-26 02:52:46 +00:00
Alexander Malmberg
432df0d14d Add some missing void:s.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19860 72102866-910b-0410-8b05-ffd578937521
2004-08-09 22:51:38 +00:00
Fred Kiefer
4035581bdd [readFromURL:options:documentAttributes:] corrected the handling
to type "text", where [NSString alloc] was missing.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17595 72102866-910b-0410-8b05-ffd578937521
2003-09-01 18:14:47 +00:00
David Ayers
b18f1c4ac4 Header reorganization - Please refer to ChangeLog
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17408 72102866-910b-0410-8b05-ffd578937521
2003-07-31 23:52:10 +00:00
Alexander Malmberg
974395db91 (-fixParagraphStyleAttributeInRange:): Handle paragraphs with paragraph styles set for part of it correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17134 72102866-910b-0410-8b05-ffd578937521
2003-07-05 15:23:34 +00:00
Adam Fedor
6be9174933 Include <> -> ""
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16917 72102866-910b-0410-8b05-ffd578937521
2003-06-13 15:01:12 +00:00
Alexander Malmberg
ea14bf8170 (-fixAttachmentAttributesInRange:): Update end index when a character is deleted.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15935 72102866-910b-0410-8b05-ffd578937521
2003-02-11 15:39:20 +00:00
Fred Kiefer
fa182b53a4 Implemented [textFileTypes], [textPasteboardTypes],
[textUnfilteredFileTypes], [textUnfilteredPasteboardTypes].


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14414 72102866-910b-0410-8b05-ffd578937521
2002-09-06 23:38:57 +00:00
Nicola Pero
0d9f2c6dbe When parsing RTF (or other formats) require the generated attributed
string to be of the appropriate class


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@13841 72102866-910b-0410-8b05-ffd578937521
2002-06-11 14:59:51 +00:00
Nicola Pero
f3f65c281e Rewritten moving a word forward or backward
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12428 72102866-910b-0410-8b05-ffd578937521
2002-02-08 01:53:18 +00:00
Adam Fedor
d47e202fbe Markup for autogsdoc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11788 72102866-910b-0410-8b05-ffd578937521
2001-12-17 16:51:51 +00:00
Nicola Pero
8abb202934 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
Fred Kiefer
4854b4cad2 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
Fred Kiefer
6b2f41f67e 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
Adam Fedor
30d3fd1bc0 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
Fred Kiefer
fa8999f56a 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 Frith-MacDonald
7fdaabcdde 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 Frith-MacDonald
0ae0da7dad 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
Nicola Pero
352ef9339a 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 Frith-MacDonald
19e0fc3d15 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
Fred Kiefer
a38bc02f22 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
Fred Kiefer
a66e46a6c7 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
Adam Fedor
8298410a10 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
Fred Kiefer
915afeecce 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 Frith-MacDonald
0177742a92 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
Fred Kiefer
eb50176bc8 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
Fred Kiefer
71b3dcb335 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
Fred Kiefer
0851f1ed7c 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
Fred Kiefer
43c272e3f8 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 Frith-MacDonald
915261484f 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
Fred Kiefer
456bb4cb21 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
Fred Kiefer
a5b915e256 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
Fred Kiefer
42a770c73d 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
Fred Kiefer
d2ead15ef3 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
Fred Kiefer
a0f56f73f1 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 Frith-MacDonald
25dde4dec4 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 Frith-MacDonald
582fbfb278 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
Adam Fedor
16eefe44b2 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