Nicola Pero
a53e0a5769
Implemented shift click; moved code around
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8409 72102866-910b-0410-8b05-ffd578937521
2000-12-22 17:52:23 +00:00
Nicola Pero
85ff7509fc
Work on drawing insertion point
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8407 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:57:21 +00:00
Nicola Pero
f97b00a5b1
Added NSOldSelectedCharacterRange
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8405 72102866-910b-0410-8b05-ffd578937521
2000-12-22 16:49:09 +00:00
Nicola Pero
e07f5fa8c9
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8401 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:47:51 +00:00
Nicola Pero
c8bfe7e399
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8400 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:39:42 +00:00
Nicola Pero
2a0c9fda52
Use layout manager's ivars for flags shared between textviews with the same
...
layout manager; fixed/implemented notifications, begin/end editing etc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8399 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:32:01 +00:00
Nicola Pero
8d3ffdfc63
Code for multiple text views
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8398 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:29:51 +00:00
Nicola Pero
89fce18382
Fixed bug allowing buttons disabled but with a key equivalent to get first
...
responder status
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8395 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:23:21 +00:00
Nicola Pero
3d77093190
Access ivar _refuses_first_responder directly.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8394 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:21:27 +00:00
Nicola Pero
62797f6331
Added a little private method to allow implentation of NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8393 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:20:33 +00:00
Nicola Pero
ed69dee7f2
Tidyups, access some ivars directly, and a bug fix for scrolling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8386 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:56:40 +00:00
Nicola Pero
b1507ff3e2
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8385 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:55:30 +00:00
Nicola Pero
6455046227
Merged NSText code into NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8383 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:00:32 +00:00
Nicola Pero
6ab26e6943
Removed most delegate code now handled by NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8381 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:37 +00:00
Nicola Pero
7427870911
Added NSText notifications to delegate
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8380 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:50:15 +00:00
Nicola Pero
de8df1c4f5
Moved some methods to NSTextView; removed some old methods; tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8378 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:37:28 +00:00
Nicola Pero
be3091ea03
Moved selectedRange and setSelectedRange: from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8377 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:35:22 +00:00
Nicola Pero
a20166067f
Fix in my last change, plus some verbose comments added
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8375 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:20:39 +00:00
Nicola Pero
b89da5341a
Indented comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8374 72102866-910b-0410-8b05-ffd578937521
2000-12-19 21:09:21 +00:00
Nicola Pero
b867efaa01
Moved the string method to NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8372 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:52 +00:00
Nicola Pero
9a852c5fe4
Added code to share editing attributes and delegate between multiple
...
text views with the same layout manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8371 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:45:19 +00:00
Nicola Pero
e3f6a413a0
Tidied some long comments
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8368 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:47:24 +00:00
Nicola Pero
da6a352dd3
Imported some code from NSText; removed lots of methods already implemented
...
in NSText (the superclass)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8366 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:34:21 +00:00
Nicola Pero
a8b3637202
Removed code which belongs to NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8365 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:33:34 +00:00
Nicola Pero
d3c3d91e82
Moved some code from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8360 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:07:28 +00:00
Nicola Pero
c77827b381
Made NSText an abstract class always allocating an instance of the
...
concrete subclass NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8359 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:06:53 +00:00
Richard Frith-MacDonald
247539f37b
Fix logic error in attribute handling
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8358 72102866-910b-0410-8b05-ffd578937521
2000-12-18 19:29:49 +00:00
Nicola Pero
b7a8dc9399
Tidied
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8355 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:08:21 +00:00
Richard Frith-MacDonald
9835ced269
Range fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8349 72102866-910b-0410-8b05-ffd578937521
2000-12-18 17:14:54 +00:00
Richard Frith-MacDonald
e514763173
Applied view resizing patches.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8345 72102866-910b-0410-8b05-ffd578937521
2000-12-18 10:52:46 +00:00
Nicola Pero
86b2df02c9
Little tweak to keep number of concurrent typing dictionaries allocated
...
reasonably low
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8342 72102866-910b-0410-8b05-ffd578937521
2000-12-17 11:57:23 +00:00
Nicola Pero
1bfc14cd38
Implemented double owning policy for the text network (ie, allocation
...
deallocation stuff)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8340 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:21:47 +00:00
Nicola Pero
abed70f622
Retain/release fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8339 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:19:18 +00:00
Nicola Pero
c96deb1436
Retain/release fixes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8338 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:18:33 +00:00
Nicola Pero
120979e0e2
Retain/release fixes, and tidy up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8337 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:17:54 +00:00
Fred Kiefer
2c91a0f895
Moved the "not implemented yet" Panel to the shared instance
...
method of this class.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8334 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:23:41 +00:00
Fred Kiefer
edb22721b2
Adopted to changes in header file. [initialize] Cache the
...
notification center and the NSAutoreleasePool class for the whole
file. [finishLaunching] set the image before starting the icon
view. Recognize file to open with flag @"NSOpen" beside @"GSFilePath".
[dealloc] now also destoys the graphic context. [stop:] now stops
the run loop, which may be restarted (but this will still reload
the NIB file!). [setApplicationIconImage:] check if the
_app_icon_window is there before setting its
image. [orderFrontDataLinkPanel:] and [orderFrontHelpPanel:] moved
the error message into the corresponding files. [terminate:] now
directly stops the program with exit(0). Also did some general
cleanup of code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8333 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:22:31 +00:00
Nicola Pero
24b3d9ce47
Implemented copyWithZone
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8330 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:56:25 +00:00
Nicola Pero
ac3979e8f4
Updated for ivar change; attributed strings are now treated differently
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8329 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:55:28 +00:00
Nicola Pero
8cce6d579a
Prefixed all ivars with underscores; fixed invalidated range
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8326 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:21:59 +00:00
Nicola Pero
0cec48542b
Tidy up
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8325 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:03:03 +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
Nicola Pero
6284321acb
Fixed memory leak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8320 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:19:17 +00:00
Nicola Pero
6d3e255397
Prefixed all NSParagraphStyle and NSTextTab ivars with underscores
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8313 72102866-910b-0410-8b05-ffd578937521
2000-12-12 21:14:00 +00:00
Nicola Pero
ca75f8eb2d
Do not draw in deferred windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8311 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:45:22 +00:00
Nicola Pero
af894fe8c4
Bug fix for recent change in NSActionCell
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8309 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:15:23 +00:00
Nicola Pero
96422627fd
Left align edited text.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8308 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:13:05 +00:00
Nicola Pero
c332a68115
Do not copy deeply ivars when copying
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8307 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:12:16 +00:00
Nicola Pero
bb4466e3b6
When copying, only make a superficial copy of ivars
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8306 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:11:21 +00:00
Nicola Pero
01360a699c
When copying cells, do a superficial copy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8305 72102866-910b-0410-8b05-ffd578937521
2000-12-12 17:09:32 +00:00