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
e594266a93
Further work on merging NSText code into NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8379 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:42:46 +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
06dccf6395
Removed old gnu extension
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8376 72102866-910b-0410-8b05-ffd578937521
2000-12-19 22:34:21 +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
39da358cad
Added code to share multiple textviews with a single layout manager
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8373 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:48:31 +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
9250be6b27
Added ivars to manage the case of multiple text views sharing a layout
...
manager
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8370 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:41:24 +00:00
Nicola Pero
ec997b4642
Added a comment
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8369 72102866-910b-0410-8b05-ffd578937521
2000-12-19 18:40:21 +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
5f37cdeec0
Moved code from NSText to NSTextView; removed some duplicated code
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8367 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:37:03 +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
b95084a593
Added flags moved from NSText
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8364 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:32:56 +00:00
Nicola Pero
eb487d1b20
Moved some ivars and methods to NSTextView
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8363 72102866-910b-0410-8b05-ffd578937521
2000-12-19 15:32:27 +00:00
Nicola Pero
6b628d9b8c
Began work of reducing NSText to the role of an abstract class always
...
returning a concrete instance of NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8361 72102866-910b-0410-8b05-ffd578937521
2000-12-18 22:10:06 +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
Nicola Pero
d2d2d2c3aa
Updated for change in private method name
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8354 72102866-910b-0410-8b05-ffd578937521
2000-12-18 18:01:30 +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
418f373144
Added a little trick to NSCell to reduce number of concurrently allocated
...
typing dictionaries
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8343 72102866-910b-0410-8b05-ffd578937521
2000-12-17 12:01:00 +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
bd7cba9479
Fixed/implemented memory management for the text classes
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8341 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:27:29 +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
Nicola Pero
9b784c34c5
Added two ivars to implement the double text network retain/release policy
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8336 72102866-910b-0410-8b05-ffd578937521
2000-12-16 20:16:12 +00:00
Fred Kiefer
d500037147
*** empty log message ***
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8335 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:25:28 +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
Fred Kiefer
a596a673ba
Prefixed all ivars with underscores, removed unneeded ivars and
...
added some missing methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8332 72102866-910b-0410-8b05-ffd578937521
2000-12-16 16:20:43 +00:00
Nicola Pero
97e2cb614c
Compressed memory consumption of cells
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8331 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:58:49 +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
b489f16573
Modified ivars to reduce memory consumption.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8328 72102866-910b-0410-8b05-ffd578937521
2000-12-16 13:54:23 +00:00
Nicola Pero
2c1ac429dc
Prefixed NSTextStorage ivars with underscore; fixed bug in NSTextStorage
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8327 72102866-910b-0410-8b05-ffd578937521
2000-12-16 02:23:43 +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
9886395d96
Bug fix in NSText; optimizations in NSAttributedString
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8322 72102866-910b-0410-8b05-ffd578937521
2000-12-13 23:24:47 +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
5a2f2e634e
Fixed popupbuttons which had been broken by deferred windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8312 72102866-910b-0410-8b05-ffd578937521
2000-12-12 18:47:09 +00:00