aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-12-19 15:00:40 +1100
committerNeil <nyamatongwe@gmail.com>2017-12-19 15:00:40 +1100
commit01c48f98e5557089fc7501394f905a5b15fde9c0 (patch)
treed1508bcbcf021f45ec37a14ed7c238b3e98ce58a /src/Editor.cxx
parent13e07ac896114885b16ca0a48fa0751579ba681e (diff)
downloadscintilla-mirror-01c48f98e5557089fc7501394f905a5b15fde9c0.tar.gz
Start of bidirectional code - implement SCI_SETBIDIRECTIONAL.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index d45a8684c..36af34685 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6736,6 +6736,13 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
case SCI_GETIMEINTERACTION:
return imeInteraction;
+ case SCI_SETBIDIRECTIONAL:
+ // SCI_SETBIDIRECTIONAL is implemented on platform subclasses if they support bidirectional text.
+ break;
+
+ case SCI_GETBIDIRECTIONAL:
+ return static_cast<sptr_t>(bidirectional);
+
// Marker definition and setting
case SCI_MARKERDEFINE:
if (wParam <= MARKER_MAX) {