[ooo-build-commit] patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Nov 24 11:45:49 PST 2009


 patches/dev300/apply                       |    3 +++
 patches/dev300/calc-auto-tab-complete.diff |   14 ++++++++++++++
 2 files changed, 17 insertions(+)

New commits:
commit dfa82b824aa2bcdbe615422df1c9fffb6cea94f8
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Nov 24 14:43:46 2009 -0500

    TAB key to auto-complete word and move the cell cursor.
    
    * patches/dev300/apply:
    * patches/dev300/calc-auto-tab-complete.diff: The original patch
      was authored by Muthu Subramanian, which I slightly modified.
      (i#18748)

diff --git a/patches/dev300/apply b/patches/dev300/apply
index ce7e1d2..b50358f 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -850,6 +850,9 @@ calc-xls-import-slanted-border-oox.diff, n#549728, i#38709, kohei
 # Fix incorrect import of sheet protection options.
 calc-xls-import-sheet-protection-fix.diff, n#542024, kohei
 
+# TAB key to auto-complete word and move the cell cursor.
+calc-auto-tab-complete.diff, i#18748, muthusuba/kohei
+
 # Support PHONETIC function to display asian phonetic guide.
 # LATER: I'll take care of this later.  --kohei
 # calc-formula-asian-phonetic.diff, i#80764, i#80765, i#80766, kohei
diff --git a/patches/dev300/calc-auto-tab-complete.diff b/patches/dev300/calc-auto-tab-complete.diff
new file mode 100644
index 0000000..efb05a2
--- /dev/null
+++ b/patches/dev300/calc-auto-tab-complete.diff
@@ -0,0 +1,14 @@
+diff --git sc/source/ui/app/inputhdl.cxx sc/source/ui/app/inputhdl.cxx
+index 37f485e..0b43cc3 100644
+--- sc/source/ui/app/inputhdl.cxx
++++ sc/source/ui/app/inputhdl.cxx
+@@ -2973,8 +2973,7 @@ BOOL ScInputHandler::KeyInput( const KeyEvent& rKEvt, BOOL bStartEdit /* = FALSE
+     sal_Unicode nChar = rKEvt.GetCharCode();
+ 
+     //	Alt-Return is accepted, everything else with ALT, or CTRL-TAB are not:
+-    if (( bAlt && !bControl && nCode != KEY_RETURN ) ||
+-            ( bControl && aCode.GetCode() == KEY_TAB ))
++    if ((bAlt && !bControl && nCode != KEY_RETURN) || (aCode.GetCode() == KEY_TAB))
+         return FALSE;
+ 
+     BOOL bInputLine = ( eMode==SC_INPUT_TOP );


More information about the ooo-build-commit mailing list