Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
e4fb0fe9
Commit
e4fb0fe9
authored
Jul 31, 2007
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jul 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Constify some data.
parent
9472e044
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
editor.c
dlls/mshtml/editor.c
+8
-8
No files found.
dlls/mshtml/editor.c
View file @
e4fb0fe9
...
@@ -488,7 +488,7 @@ static nsIDOMNode *get_child_text_node(nsIDOMNode *node, BOOL first)
...
@@ -488,7 +488,7 @@ static nsIDOMNode *get_child_text_node(nsIDOMNode *node, BOOL first)
return
NULL
;
return
NULL
;
}
}
static
void
handle_arrow_key
(
HTMLDocument
*
This
,
nsIDOMKeyEvent
*
event
,
const
char
*
cmds
[
4
])
static
void
handle_arrow_key
(
HTMLDocument
*
This
,
nsIDOMKeyEvent
*
event
,
const
char
*
const
cmds
[
4
])
{
{
int
i
=
0
;
int
i
=
0
;
PRBool
b
;
PRBool
b
;
...
@@ -518,7 +518,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -518,7 +518,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
switch
(
code
)
{
switch
(
code
)
{
case
DOM_VK_LEFT
:
{
case
DOM_VK_LEFT
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_CHARPREVIOUS
,
NSCMD_CHARPREVIOUS
,
NSCMD_WORDPREVIOUS
,
NSCMD_WORDPREVIOUS
,
NSCMD_SELECTCHARPREVIOUS
,
NSCMD_SELECTCHARPREVIOUS
,
...
@@ -530,7 +530,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -530,7 +530,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_RIGHT
:
{
case
DOM_VK_RIGHT
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_CHARNEXT
,
NSCMD_CHARNEXT
,
NSCMD_WORDNEXT
,
NSCMD_WORDNEXT
,
NSCMD_SELECTCHARNEXT
,
NSCMD_SELECTCHARNEXT
,
...
@@ -542,7 +542,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -542,7 +542,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_UP
:
{
case
DOM_VK_UP
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_LINEPREVIOUS
,
NSCMD_LINEPREVIOUS
,
NSCMD_MOVEPAGEUP
,
NSCMD_MOVEPAGEUP
,
NSCMD_SELECTLINEPREVIOUS
,
NSCMD_SELECTLINEPREVIOUS
,
...
@@ -554,7 +554,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -554,7 +554,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_DOWN
:
{
case
DOM_VK_DOWN
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_LINENEXT
,
NSCMD_LINENEXT
,
NSCMD_MOVEPAGEDOWN
,
NSCMD_MOVEPAGEDOWN
,
NSCMD_SELECTLINENEXT
,
NSCMD_SELECTLINENEXT
,
...
@@ -566,7 +566,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -566,7 +566,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_DELETE
:
{
case
DOM_VK_DELETE
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_DELETECHARFORWARD
,
NSCMD_DELETECHARFORWARD
,
NSCMD_DELETEWORDFORWARD
,
NSCMD_DELETEWORDFORWARD
,
NULL
,
NULL
NULL
,
NULL
...
@@ -577,7 +577,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -577,7 +577,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_HOME
:
{
case
DOM_VK_HOME
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_BEGINLINE
,
NSCMD_BEGINLINE
,
NSCMD_MOVETOP
,
NSCMD_MOVETOP
,
NSCMD_SELECTBEGINLINE
,
NSCMD_SELECTBEGINLINE
,
...
@@ -589,7 +589,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
...
@@ -589,7 +589,7 @@ void handle_edit_event(HTMLDocument *This, nsIDOMEvent *event)
break
;
break
;
}
}
case
DOM_VK_END
:
{
case
DOM_VK_END
:
{
static
const
char
*
cmds
[]
=
{
static
const
char
*
const
cmds
[]
=
{
NSCMD_ENDLINE
,
NSCMD_ENDLINE
,
NSCMD_MOVEBOTTOM
,
NSCMD_MOVEBOTTOM
,
NSCMD_SELECTENDLINE
,
NSCMD_SELECTENDLINE
,
...
...
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