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
3d6c53b9
Commit
3d6c53b9
authored
May 26, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
May 26, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
riched20: Make ME_GetCursorCoordinates() static and remove ME_MustBeWrapped() as it is unused.
parent
623dad09
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
16 deletions
+1
-16
caret.c
dlls/riched20/caret.c
+1
-1
editor.h
dlls/riched20/editor.h
+0
-3
run.c
dlls/riched20/run.c
+0
-12
No files found.
dlls/riched20/caret.c
View file @
3d6c53b9
...
...
@@ -168,7 +168,7 @@ int ME_SetSelection(ME_TextEditor *editor, int from, int to)
}
void
static
void
ME_GetCursorCoordinates
(
ME_TextEditor
*
editor
,
ME_Cursor
*
pCursor
,
int
*
x
,
int
*
y
,
int
*
height
)
{
...
...
dlls/riched20/editor.h
View file @
3d6c53b9
...
...
@@ -171,9 +171,6 @@ void ME_InsertTextFromCursor(ME_TextEditor *editor, int nCursor,
void
ME_InsertEndRowFromCursor
(
ME_TextEditor
*
editor
,
int
nCursor
);
BOOL
ME_ArrowKey
(
ME_TextEditor
*
ed
,
int
nVKey
,
BOOL
extend
,
BOOL
ctrl
);
void
ME_MustBeWrapped
(
ME_Context
*
c
,
ME_DisplayItem
*
para
);
void
ME_GetCursorCoordinates
(
ME_TextEditor
*
editor
,
ME_Cursor
*
pCursor
,
int
*
x
,
int
*
y
,
int
*
height
);
int
ME_GetCursorOfs
(
ME_TextEditor
*
editor
,
int
nCursor
);
void
ME_GetSelection
(
ME_TextEditor
*
editor
,
int
*
from
,
int
*
to
);
int
ME_CountParagraphsBetween
(
ME_TextEditor
*
editor
,
int
from
,
int
to
);
...
...
dlls/riched20/run.c
View file @
3d6c53b9
...
...
@@ -725,18 +725,6 @@ void ME_CalcRunExtent(ME_Context *c, const ME_Paragraph *para, int startx, ME_Ru
}
/******************************************************************************
* ME_MustBeWrapped
*
* This should ensure that the given paragraph is wrapped so that its screen
* row structure may be used. But it doesn't, yet.
*/
void
ME_MustBeWrapped
(
ME_Context
*
c
,
ME_DisplayItem
*
para
)
{
assert
(
para
->
type
==
diParagraph
);
/* FIXME */
}
/******************************************************************************
* ME_SetSelectionCharFormat
*
* Applies a style change, either to a current selection, or to insert cursor
...
...
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