diff options
| author | nyamatongwe <unknown> | 2011-07-10 22:40:10 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-07-10 22:40:10 +1000 |
| commit | 3c45e63c21562d20a7db16719c46313a3bf110bb (patch) | |
| tree | e961f1d46986de6cdd23f14fa29aa5386c2d759a /cocoa/ScintillaCocoa.mm | |
| parent | d613cc3519af2ecb9ca0be9d6a1d1c5165b30e63 (diff) | |
| download | scintilla-mirror-3c45e63c21562d20a7db16719c46313a3bf110bb.tar.gz | |
Return byte length of insertion for encoding from InsertText so can be
used to underline text inserted by IME and replace correctly when the
IME changes.
Diffstat (limited to 'cocoa/ScintillaCocoa.mm')
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index c0667cf4e..196ae28e4 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -1672,7 +1672,7 @@ int ScintillaCocoa::InsertText(NSString* input) AddCharUTF((char*) buffer, usedLen, false); delete []buffer; - return true; + return usedLen; } //-------------------------------------------------------------------------------------------------- |
