Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Unified Diff: LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt

Issue 357483007: DevTools: [CodeMirror] add support for camel case movements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use nice naming for shift-movement Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt
diff --git a/LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt b/LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt
index 0e7f9cb6ebe09fe97cd16f66e88fcf617aa84b4a..73c11b0f89e1e891845365a31feb813743135268 100644
--- a/LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt
+++ b/LayoutTests/inspector/editor/text-editor-word-jumps-expected.txt
@@ -1,4 +1,4 @@
-This test checks how text editor handles different ctrl-based movements, i.e. ctrl-left, ctrl-right, ctrl-shift-left, ctrl-backspace.
+This test checks how text editor handles different movements: ctrl-left, ctrl-right, ctrl-shift-left, ctrl-backspace, alt-left, alt-right, alt-shift-left, alt-shift-right.
function testFunction(foo, bar)
{
@@ -501,3 +501,404 @@ function <<
===============
<<
+Running: testAltRight
+====== CAMEL CASE MOVEMENTS ======
+|function testMyCamelMove(foo, bar)
+function| testMyCamelMove(foo, bar)
+function test|MyCamelMove(foo, bar)
+function testMy|CamelMove(foo, bar)
+function testMyCamel|Move(foo, bar)
+function testMyCamelMove|(foo, bar)
+function testMyCamelMove(|foo, bar)
+function testMyCamelMove(foo|, bar)
+function testMyCamelMove(foo,| bar)
+function testMyCamelMove(foo, bar|)
+function testMyCamelMove(foo, bar)|
+|{
+{|
+| /* HelloWorld.TestSTRIng */
+ /*| HelloWorld.TestSTRIng */
+ /* Hello|World.TestSTRIng */
+ /* HelloWorld|.TestSTRIng */
+ /* HelloWorld.|TestSTRIng */
+ /* HelloWorld.Test|STRIng */
+ /* HelloWorld.TestSTR|Ing */
+ /* HelloWorld.TestSTRIng| */
+ /* HelloWorld.TestSTRIng */|
+|
+ |
+| var a = e === 2;
+ var| a = e === 2;
+ var a| = e === 2;
+ var a =| e === 2;
+ var a = e| === 2;
+ var a = e ===| 2;
+ var a = e === 2|;
+ var a = e === 2;|
+ var a = e === 2; |
+|{}
+{}|
+|}
+}|
+}|
+
+Running: testAltLeft
+}|
+|}
+{}|
+|{}
+ var a = e === 2; |
+ var a = e === 2|;
+ var a = e === |2;
+ var a = e |=== 2;
+ var a = |e === 2;
+ var a |= e === 2;
+ var |a = e === 2;
+ |var a = e === 2;
+| var a = e === 2;
+ |
+|
+ /* HelloWorld.TestSTRIng */|
+ /* HelloWorld.TestSTRIng |*/
+ /* HelloWorld.TestSTR|Ing */
+ /* HelloWorld.Test|STRIng */
+ /* HelloWorld.|TestSTRIng */
+ /* HelloWorld|.TestSTRIng */
+ /* Hello|World.TestSTRIng */
+ /* |HelloWorld.TestSTRIng */
+ |/* HelloWorld.TestSTRIng */
+| /* HelloWorld.TestSTRIng */
+{|
+|{
+function testMyCamelMove(foo, bar)|
+function testMyCamelMove(foo, bar|)
+function testMyCamelMove(foo, |bar)
+function testMyCamelMove(foo|, bar)
+function testMyCamelMove(|foo, bar)
+function testMyCamelMove|(foo, bar)
+function testMyCamel|Move(foo, bar)
+function testMy|CamelMove(foo, bar)
+function test|MyCamelMove(foo, bar)
+function |testMyCamelMove(foo, bar)
+|function testMyCamelMove(foo, bar)
+|function testMyCamelMove(foo, bar)
+
+Running: testAltShiftRight
+|function testMyCamelMove(foo, bar)
+>>function<<
+>>function test<<
+>>function testMy<<
+>>function testMyCamel<<
+>>function testMyCamelMove<<
+>>function testMyCamelMove(<<
+>>function testMyCamelMove(foo<<
+>>function testMyCamelMove(foo,<<
+>>function testMyCamelMove(foo, bar<<
+>>function testMyCamelMove(foo, bar)<<
+>>function testMyCamelMove(foo, bar)
+<<
+>>function testMyCamelMove(foo, bar)
+{<<
+>>function testMyCamelMove(foo, bar)
+{
+<<
+>>function testMyCamelMove(foo, bar)
+{
+ /*<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* Hello<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.Test<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTR<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+ <<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a =<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e ===<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2; <<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+
+Running: testAltShiftLeft
+}|
+>>}<<
+>>
+}<<
+>>{}
+}<<
+>>
+{}
+}<<
+>>;
+{}
+}<<
+>>2;
+{}
+}<<
+>>=== 2;
+{}
+}<<
+>>e === 2;
+{}
+}<<
+>>= e === 2;
+{}
+}<<
+>>a = e === 2;
+{}
+}<<
+>>var a = e === 2;
+{}
+}<<
+>> var a = e === 2;
+{}
+}<<
+>>
+ var a = e === 2;
+{}
+}<<
+>>
+ var a = e === 2;
+{}
+}<<
+>>
+
+ var a = e === 2;
+{}
+}<<
+>>*/
+
+ var a = e === 2;
+{}
+}<<
+>>Ing */
+
+ var a = e === 2;
+{}
+}<<
+>>STRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>World.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>/* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>> /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>Move(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>CamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>MyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+>>function testMyCamelMove(foo, bar)
+{
+ /* HelloWorld.TestSTRIng */
+
+ var a = e === 2;
+{}
+}<<
+

Powered by Google App Engine
This is Rietveld 408576698