Commit graph

3872 commits

Author SHA1 Message Date
nico
535b3b5461 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
nico
8e0f5cb8fc Added an ivar and a little private method needed to implement NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8392 72102866-910b-0410-8b05-ffd578937521
2000-12-21 17:19:35 +00:00
nico
2b3a9c1bff Tidyups, access some ivars directly and a bug fix in NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8387 72102866-910b-0410-8b05-ffd578937521
2000-12-20 22:59:03 +00:00
nico
71f2cc1849 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
nico
91fb1e751e 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
nico
e33d9e5ac0 Merged NSText into NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8384 72102866-910b-0410-8b05-ffd578937521
2000-12-20 17:02:18 +00:00
nico
7927b1847e 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
nico
b273d1e3b9 Moved all code for setting up delegate from NSText to NSTextView
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8382 72102866-910b-0410-8b05-ffd578937521
2000-12-20 12:53:01 +00:00
nico
9239a39127 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
nico
05aa0c954d 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
nico
0db3418ed7 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
nico
ca18190c28 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
nico
8f5f94e6c2 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
nico
8248c13f23 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
nico
51539c053d 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
nico
f07c06a970 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
nico
e6c2b2cf1b 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
nico
dfb8d582cf 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
nico
920db3c3ca 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
nico
daf84968f9 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
nico
135efc939e 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
nico
92c5ee42c5 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
nico
280dcabb6e 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
nico
d169529e0d 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
nico
fa105c04ad 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
nico
0c65fedc66 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
nico
da2135ef6d 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
nico
94c425e0cc 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
nico
5d39515eff 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
nico
6e50f1c47f 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
64c416ad2f 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
nico
1ed1b965ee 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
nico
59ca4cbf71 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
a69337b281 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
d878c1bc44 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
nico
dff043a22a 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
nico
4a891ca1cf 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
nico
a1f627a6ad 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
nico
1e7f6d4db9 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
nico
b273ed105e 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
nico
45b04bd21e 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
nico
0e88cae678 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
nico
4d49b570b6 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
FredKiefer
2e347c9698 *** 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
FredKiefer
1c75b66d52 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
FredKiefer
7fd633c784 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
FredKiefer
27397dd2e3 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
nico
9934f77470 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
nico
e1ded49b8f 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
nico
efc8f44085 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