diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-10-25 14:52:07 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-10-25 14:52:07 +0400 |
commit | 76cc9466feeac4793a2f9d1af8f9dca2c3bafbac (patch) | |
tree | a573d440d78a2a94e8e0f63f20bab706236f327a /main/src | |
parent | e4d58c1f825c2c4f2bd0a96a9258da4bb9861397 (diff) |
[TextEditor] fixed build.
Diffstat (limited to 'main/src')
-rw-r--r-- | main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs b/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs index c012ed6479..7a8ca088c0 100644 --- a/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs +++ b/main/src/core/Mono.Texteditor/Mono.TextEditor/TextEditor.cs @@ -389,13 +389,13 @@ namespace Mono.TextEditor preeditOffset = Caret.Offset; preeditLine = Caret.Line; } - using (var preeditLayout = PangoUtil.CreateLayout (textEditor)) { - preeditLayout.SetText (textEditor.preeditString); - preeditLayout.Attributes = textEditor.preeditAttrs; + using (var preeditLayout = PangoUtil.CreateLayout (this)) { + preeditLayout.SetText (preeditString); + preeditLayout.Attributes = preeditAttrs; int w, h; preeditLayout.GetSize (out w, out h); if (LineHeight != System.Math.Ceiling (h / Pango.Scale.PangoScale)) - OptionsChanged (); + OptionsChanged (this, EventArgs.Empty); } } else { |