riched20: Make ME_SetCursorToEnd() static.
This commit is contained in:
parent
798af6fe27
commit
6e80d875d4
@ -31,7 +31,7 @@ void ME_SetCursorToStart(ME_TextEditor *editor, ME_Cursor *cursor)
|
|||||||
cursor->nOffset = 0;
|
cursor->nOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor)
|
static void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor)
|
||||||
{
|
{
|
||||||
cursor->pPara = editor->pBuffer->pLast->member.para.prev_para;
|
cursor->pPara = editor->pBuffer->pLast->member.para.prev_para;
|
||||||
cursor->pRun = ME_FindItemBack(editor->pBuffer->pLast, diRun);
|
cursor->pRun = ME_FindItemBack(editor->pBuffer->pLast, diRun);
|
||||||
|
@ -155,7 +155,6 @@ void ME_SetDefaultCharFormat(ME_TextEditor *editor, CHARFORMAT2W *mod);
|
|||||||
|
|
||||||
/* caret.c */
|
/* caret.c */
|
||||||
void ME_SetCursorToStart(ME_TextEditor *editor, ME_Cursor *cursor);
|
void ME_SetCursorToStart(ME_TextEditor *editor, ME_Cursor *cursor);
|
||||||
void ME_SetCursorToEnd(ME_TextEditor *editor, ME_Cursor *cursor);
|
|
||||||
int ME_SetSelection(ME_TextEditor *editor, int from, int to);
|
int ME_SetSelection(ME_TextEditor *editor, int from, int to);
|
||||||
void ME_HideCaret(ME_TextEditor *ed);
|
void ME_HideCaret(ME_TextEditor *ed);
|
||||||
void ME_ShowCaret(ME_TextEditor *ed);
|
void ME_ShowCaret(ME_TextEditor *ed);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user