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
8e639ec3
Commit
8e639ec3
authored
Dec 17, 2007
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Dec 18, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Fix bugs in EM_SETOPTIONS.
Add SELECTIONBAR to mask, and use settings rather then lParam. 2 subtle bugs that prevent selectionbar from working.
parent
486326ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
editor.c
dlls/riched20/editor.c
+9
-8
No files found.
dlls/riched20/editor.c
View file @
8e639ec3
...
...
@@ -1569,7 +1569,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
* setting the bit to work
*/
DWORD
mask
=
ECO_VERTICAL
|
ECO_AUTOHSCROLL
|
ECO_AUTOVSCROLL
|
ECO_NOHIDESEL
|
ECO_READONLY
|
ECO_WANTRETURN
;
ECO_NOHIDESEL
|
ECO_READONLY
|
ECO_WANTRETURN
|
ECO_SELECTIONBAR
;
DWORD
raw
=
GetWindowLongW
(
hWnd
,
GWL_STYLE
);
DWORD
settings
=
mask
&
raw
;
...
...
@@ -1589,22 +1589,23 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
}
SetWindowLongW
(
hWnd
,
GWL_STYLE
,
(
raw
&
~
mask
)
|
(
settings
&
mask
));
if
(
lParam
&
ECO_AUTOWORDSELECTION
)
if
(
settings
&
ECO_AUTOWORDSELECTION
)
FIXME
(
"ECO_AUTOWORDSELECTION not implemented yet!
\n
"
);
if
(
lParam
&
ECO_SELECTIONBAR
)
if
(
settings
&
ECO_SELECTIONBAR
)
editor
->
selofs
=
16
;
else
editor
->
selofs
=
0
;
ME_WrapMarkedParagraphs
(
editor
);
if
(
lParam
&
ECO_VERTICAL
)
if
(
settings
&
ECO_VERTICAL
)
FIXME
(
"ECO_VERTICAL not implemented yet!
\n
"
);
if
(
lParam
&
ECO_AUTOHSCROLL
)
if
(
settings
&
ECO_AUTOHSCROLL
)
FIXME
(
"ECO_AUTOHSCROLL not implemented yet!
\n
"
);
if
(
lParam
&
ECO_AUTOVSCROLL
)
if
(
settings
&
ECO_AUTOVSCROLL
)
FIXME
(
"ECO_AUTOVSCROLL not implemented yet!
\n
"
);
if
(
lParam
&
ECO_NOHIDESEL
)
if
(
settings
&
ECO_NOHIDESEL
)
FIXME
(
"ECO_NOHIDESEL not implemented yet!
\n
"
);
if
(
lParam
&
ECO_WANTRETURN
)
if
(
settings
&
ECO_WANTRETURN
)
FIXME
(
"ECO_WANTRETURN not implemented yet!
\n
"
);
return
settings
;
...
...
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