MCPcopy Create free account
hub / github.com/cxasm/notepad-- / setLineColorStyle

Method setLineColorStyle

src/findresultview.cpp:126–131  ·  view source on GitHub ↗

������ǰ��ɫ��line �кţ��������pos��λ�ÿ�ʼ

Source from the content-addressed store, hash-verified

124
125//������ǰ��ɫ��line �кţ��������pos��λ�ÿ�ʼ
126void FindResultView::setLineColorStyle(int line, int offsetPos, int length, int style)
127{
128 int startPos = SendScintilla(SCI_POSITIONFROMLINE, line);
129 SendScintilla(SCI_STARTSTYLING, startPos + offsetPos);
130 SendScintilla(SCI_SETSTYLING, length, style);
131}
132
133
134void FindResultView::mouseDoubleClickEvent(QMouseEvent* /*e*/)

Callers 1

appendResultsToShowMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected