Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
88c25518
Commit
88c25518
authored
Jul 11, 2008
by
Aurimas Fischer
Committed by
Alexandre Julliard
Jul 14, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Spelling fixes.
parent
28d6203c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
editor.c
dlls/riched20/tests/editor.c
+6
-6
No files found.
dlls/riched20/tests/editor.c
View file @
88c25518
...
...
@@ -4492,25 +4492,25 @@ static void test_word_movement(void)
/* one |two three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
4
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
4
);
ok
(
sel_start
==
4
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
4
);
SEND_CTRL_RIGHT
(
hwnd
);
/* one two |three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
9
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
ok
(
sel_start
==
9
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
SEND_CTRL_LEFT
(
hwnd
);
/* one |two three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
4
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
4
);
ok
(
sel_start
==
4
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
4
);
SEND_CTRL_LEFT
(
hwnd
);
/* |one two three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
0
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
0
);
ok
(
sel_start
==
0
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
0
);
SendMessage
(
hwnd
,
EM_SETSEL
,
8
,
8
);
/* one two | three */
...
...
@@ -4518,7 +4518,7 @@ static void test_word_movement(void)
/* one two |three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
9
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
ok
(
sel_start
==
9
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
SendMessage
(
hwnd
,
EM_SETSEL
,
11
,
11
);
/* one two th|ree */
...
...
@@ -4526,7 +4526,7 @@ static void test_word_movement(void)
/* one two |three */
SendMessage
(
hwnd
,
EM_GETSEL
,
(
WPARAM
)
&
sel_start
,
(
LPARAM
)
&
sel_end
);
ok
(
sel_start
==
sel_end
,
"Selection should be empty
\n
"
);
ok
(
sel_start
==
9
,
"Curs
u
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
ok
(
sel_start
==
9
,
"Curs
o
r is at %d instead of %d
\n
"
,
sel_start
,
9
);
DestroyWindow
(
hwnd
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment