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
2dbcddc6
Commit
2dbcddc6
authored
Oct 05, 2016
by
Huw Davies
Committed by
Alexandre Julliard
Oct 05, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Set a temporary insert style for the new paragraph.
Signed-off-by:
Huw Davies
<
huw@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ac6a0d89
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
editor.c
dlls/riched20/editor.c
+2
-2
No files found.
dlls/riched20/editor.c
View file @
2dbcddc6
...
...
@@ -2392,7 +2392,6 @@ ME_KeyDown(ME_TextEditor *editor, WORD nKey)
}
style
=
ME_GetInsertStyle
(
editor
,
0
);
ME_SaveTempStyle
(
editor
,
style
);
ME_ContinueCoalescingTransaction
(
editor
);
if
(
shift_is_down
)
ME_InsertEndRowFromCursor
(
editor
,
0
);
...
...
@@ -2401,12 +2400,13 @@ ME_KeyDown(ME_TextEditor *editor, WORD nKey)
ME_InsertTextFromCursor
(
editor
,
0
,
&
endl
,
1
,
style
);
else
ME_InsertTextFromCursor
(
editor
,
0
,
endlv10
,
2
,
style
);
ME_ReleaseStyle
(
style
);
ME_CommitCoalescingUndo
(
editor
);
SetCursor
(
NULL
);
ME_UpdateSelectionLinkAttribute
(
editor
);
ME_UpdateRepaint
(
editor
,
FALSE
);
ME_SaveTempStyle
(
editor
,
style
);
/* set the temp insert style for the new para */
ME_ReleaseStyle
(
style
);
}
return
TRUE
;
}
...
...
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