aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaCocoa.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-06-15 21:36:55 +1000
committernyamatongwe <devnull@localhost>2011-06-15 21:36:55 +1000
commit3effc9e6e4668dc6100d70e76a03a63d5248f7f0 (patch)
tree7d5e6357086d004dd160653cbacf1ce1fce440e4 /cocoa/ScintillaCocoa.h
parent7fa8fc1c3cded6bfb0ebe756009a7a1da0d5ffe9 (diff)
downloadscintilla-mirror-3effc9e6e4668dc6100d70e76a03a63d5248f7f0.tar.gz
Made ScintillaCocoa::ContentView public so it can be used by
ScintillaView and using hwndFrom to find view so idFrom can be used as it is on other platforms.
Diffstat (limited to 'cocoa/ScintillaCocoa.h')
-rw-r--r--cocoa/ScintillaCocoa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.h b/cocoa/ScintillaCocoa.h
index 4f7079f23..b24938d05 100644
--- a/cocoa/ScintillaCocoa.h
+++ b/cocoa/ScintillaCocoa.h
@@ -116,7 +116,6 @@ private:
int scrollSpeed;
int scrollTicks;
protected:
- NSView* ContentView();
PRectangle GetClientRectangle();
Point ConvertPoint(NSPoint point);
@@ -125,6 +124,8 @@ protected:
virtual CaseFolder *CaseFolderForEncoding();
virtual std::string CaseMapString(const std::string &s, int caseMapping);
public:
+ NSView* ContentView();
+
ScintillaCocoa(NSView* view);
virtual ~ScintillaCocoa();