summaryrefslogtreecommitdiff
path: root/cocoa/BrowserView.h
diff options
context:
space:
mode:
authorSven Weidauer <sven.weidauer@gmail.com>2011-03-07 09:01:42 +0000
committerSven Weidauer <sven.weidauer@gmail.com>2011-03-07 09:01:42 +0000
commitfc6125f79adfa07dcd1316c70618a5baebc8da12 (patch)
tree85e30c493958003cd9419f51926d255b7eacaae2 /cocoa/BrowserView.h
parentb925439a14ac8c8787034f30631ad60dd626a299 (diff)
downloadnetsurf-fc6125f79adfa07dcd1316c70618a5baebc8da12.tar.gz
netsurf-fc6125f79adfa07dcd1316c70618a5baebc8da12.tar.bz2
Minimal implementation of NSTextInput protocol. Allows accented characters to be typed. Might not work with other, more complex input methods (chinese, ...)
svn path=/trunk/netsurf/; revision=11930
Diffstat (limited to 'cocoa/BrowserView.h')
-rw-r--r--cocoa/BrowserView.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cocoa/BrowserView.h b/cocoa/BrowserView.h
index 5b3d3b577..c626c8c5b 100644
--- a/cocoa/BrowserView.h
+++ b/cocoa/BrowserView.h
@@ -22,7 +22,7 @@
@class LocalHistoryController;
-@interface BrowserView : ScrollableView {
+@interface BrowserView : ScrollableView <NSTextInput> {
struct browser_window *browser;
NSPoint caretPoint;
@@ -36,6 +36,8 @@
BOOL historyVisible;
LocalHistoryController *history;
+
+ NSString *markedText;
}
@property (readwrite, assign, nonatomic) struct browser_window *browser;