[ooo-build-commit] .: patches/dev300

Kohei Yoshida kohei at kemper.freedesktop.org
Tue Sep 28 09:07:55 PDT 2010


 patches/dev300/apply                       |    3 -
 patches/dev300/calc-auto-tab-complete.diff |   69 -----------------------------
 2 files changed, 72 deletions(-)

New commits:
commit 2a5f651601bbe2a564cd1e178dc2653b4e17858d
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Tue Sep 28 12:07:43 2010 -0400

    Removed calc-auto-tab-complete.diff; moved to the split repos.

diff --git a/patches/dev300/apply b/patches/dev300/apply
index fd88701..7bfb898 100644
--- a/patches/dev300/apply
+++ b/patches/dev300/apply
@@ -503,9 +503,6 @@ calc-string-number.diff, kohei
 # Set reference edge to bottom when importing cells with slanted text.
 calc-xls-import-slanted-border-oox.diff, n#549728, i#38709, kohei
 
-# TAB key to auto-complete word and move the cell cursor.
-calc-auto-tab-complete.diff, i#18748, muthusuba/kohei
-
 # Speed up filtering performance with notes.
 calc-perf-filtering-with-notes.diff, n#556927, kohei
 
diff --git a/patches/dev300/calc-auto-tab-complete.diff b/patches/dev300/calc-auto-tab-complete.diff
deleted file mode 100644
index a3956c4..0000000
--- a/patches/dev300/calc-auto-tab-complete.diff
+++ /dev/null
@@ -1,69 +0,0 @@
----
- sc/source/ui/app/inputhdl.cxx |   31 ++++++++++++++++---------------
- 1 files changed, 16 insertions(+), 15 deletions(-)
-
-diff --git sc/source/ui/app/inputhdl.cxx sc/source/ui/app/inputhdl.cxx
-index 0e46332..12a245a 100644
---- sc/source/ui/app/inputhdl.cxx
-+++ sc/source/ui/app/inputhdl.cxx
-@@ -3000,10 +3000,19 @@ BOOL ScInputHandler::KeyInput( const KeyEvent& rKEvt, BOOL bStartEdit /* = FALSE
-     USHORT nCode  = aCode.GetCode();
-     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 ))
--        return FALSE;
-+    if (bAlt && !bControl && nCode != KEY_RETURN)
-+        // Alt-Return and Alt-Ctrl-* are accepted. Everything else with ALT are not.
-+        return false;
-+
-+    if (!bControl && nCode == KEY_TAB)
-+    {
-+        // Normal TAB moves the cursor right.
-+        EnterHandler();
-+
-+        if (pActiveViewSh)
-+            pActiveViewSh->FindNextUnprot( bShift );
-+        return true;
-+    }
- 
-     BOOL bInputLine = ( eMode==SC_INPUT_TOP );
- 
-@@ -3042,30 +3051,22 @@ BOOL ScInputHandler::KeyInput( const KeyEvent& rKEvt, BOOL bStartEdit /* = FALSE
-             }
-             break;
-         case KEY_TAB:
--            if (!bControl && !bAlt)
-+            if (bControl && !bAlt)
-             {
-                 if ( pFormulaData && nTipVisible && nAutoPos != SCPOS_INVALID )
-                 {
-                     //	blaettern
- 
-                     NextFormulaEntry( bShift );
-+                    bUsed = true;
-                 }
-                 else if ( pColumnData && bUseTab && nAutoPos != SCPOS_INVALID )
-                 {
-                     //	in den Eintraegen der AutoEingabe blaettern
- 
-                     NextAutoEntry( bShift );
-+                    bUsed = true;
-                 }
--                else
--                {
--                    EnterHandler();
--
--                    //	TabKeyInput gibt auf manchen Rechnern unter W95 Stackueberlaeufe,
--                    //	darum direkter Aufruf:
--                    if (pActiveViewSh)
--                        pActiveViewSh->FindNextUnprot( bShift );
--                }
--                bUsed = TRUE;
-             }
-             break;
-         case KEY_ESCAPE:
--- 
-1.7.0.1
-


More information about the ooo-build-commit mailing list