mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:01:57 +00:00
Two new NSTextView like methods.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7543 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5bedc4e137
commit
124b91bedb
1 changed files with 3 additions and 0 deletions
|
@ -43,6 +43,7 @@
|
||||||
@class NSColor;
|
@class NSColor;
|
||||||
@class NSFont;
|
@class NSFont;
|
||||||
@class NSTextStorage;
|
@class NSTextStorage;
|
||||||
|
@class NSTextContainer;
|
||||||
|
|
||||||
typedef enum _NSTextAlignment {
|
typedef enum _NSTextAlignment {
|
||||||
NSLeftTextAlignment = 0,
|
NSLeftTextAlignment = 0,
|
||||||
|
@ -296,6 +297,8 @@ typedef enum _NSSelectionAffinity {
|
||||||
|
|
||||||
@interface NSText(NSTextView)
|
@interface NSText(NSTextView)
|
||||||
// Methods that should be declared on NSTextView, but are usable for NSText
|
// Methods that should be declared on NSTextView, but are usable for NSText
|
||||||
|
- (NSTextContainer *)textContainer;
|
||||||
|
- (NSPoint)textContainerOrigin;
|
||||||
- (void) setRulerVisible: (BOOL)flag;
|
- (void) setRulerVisible: (BOOL)flag;
|
||||||
|
|
||||||
- (NSRange)rangeForUserTextChange;
|
- (NSRange)rangeForUserTextChange;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue