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
2eec4f03
Commit
2eec4f03
authored
Jul 04, 2008
by
Dylan Smith
Committed by
Alexandre Julliard
Jul 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
richedit: Fixed the selection bar width.
parent
db95d69f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
editor.c
dlls/riched20/editor.c
+2
-2
editstr.h
dlls/riched20/editstr.h
+2
-0
No files found.
dlls/riched20/editor.c
View file @
2eec4f03
...
...
@@ -1697,7 +1697,7 @@ ME_TextEditor *ME_MakeEditor(HWND hWnd) {
ME_CheckCharOffsets
(
ed
);
if
(
GetWindowLongW
(
hWnd
,
GWL_STYLE
)
&
ES_SELECTIONBAR
)
ed
->
selofs
=
16
;
ed
->
selofs
=
SELECTIONBAR_WIDTH
;
else
ed
->
selofs
=
0
;
ed
->
linesel
=
0
;
...
...
@@ -2111,7 +2111,7 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
if
(
settings
&
ECO_AUTOWORDSELECTION
)
FIXME
(
"ECO_AUTOWORDSELECTION not implemented yet!
\n
"
);
if
(
settings
&
ECO_SELECTIONBAR
)
editor
->
selofs
=
16
;
editor
->
selofs
=
SELECTIONBAR_WIDTH
;
else
editor
->
selofs
=
0
;
ME_WrapMarkedParagraphs
(
editor
);
...
...
dlls/riched20/editstr.h
View file @
2eec4f03
...
...
@@ -90,6 +90,8 @@ typedef enum {
diUndoPotentialEndTransaction
,
/* 19 - allows grouping typed chars for undo */
}
ME_DIType
;
#define SELECTIONBAR_WIDTH 9
/******************************** run flags *************************/
#define MERF_STYLEFLAGS 0x0FFF
/* run contains non-text content, which has its own rules for wrapping, sizing etc */
...
...
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