Add wxStyledTextCtrl::AnnotationClearLine().
Simply set NULL annotation text for the given line. Closes #12960. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -553,6 +553,7 @@ All (GUI):
|
||||
- Restore the original wxGrid col/row size when unhiding it (Michael Richards).
|
||||
- Fix text origin and extent computations in wxSVGFileDC (Neil Chittenden).
|
||||
- Show tooltips for the too long items in generic wxTreeCtrl (Steven Houchins).
|
||||
- Add wxStyledTextCtrl::AnnotationClearLine() (sentieshar).
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@@ -4495,6 +4495,9 @@ public:
|
||||
// Returns the current UseAntiAliasing setting.
|
||||
bool GetUseAntiAliasing();
|
||||
|
||||
// Clear annotations from the given line.
|
||||
void AnnotationClearLine(int line);
|
||||
|
||||
|
||||
|
||||
// The following methods are nearly equivalent to their similarly named
|
||||
|
@@ -3138,6 +3138,13 @@ public:
|
||||
*/
|
||||
void AnnotationClearAll();
|
||||
|
||||
/**
|
||||
Clear the annotations from the given line.
|
||||
|
||||
@since 2.9.5
|
||||
*/
|
||||
void AnnotationClearAll(int line);
|
||||
|
||||
/**
|
||||
Set the visibility for the annotations for a view
|
||||
*/
|
||||
|
@@ -4444,6 +4444,9 @@ bool wxStyledTextCtrl::GetUseAntiAliasing() {
|
||||
return m_swx->GetUseAntiAliasing();
|
||||
}
|
||||
|
||||
void wxStyledTextCtrl::AnnotationClearLine(int line) {
|
||||
SendMsg(SCI_ANNOTATIONSETTEXT, line, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@@ -582,6 +582,9 @@ bool wxStyledTextCtrl::GetUseAntiAliasing() {
|
||||
return m_swx->GetUseAntiAliasing();
|
||||
}
|
||||
|
||||
void wxStyledTextCtrl::AnnotationClearLine(int line) {
|
||||
SendMsg(SCI_ANNOTATIONSETTEXT, line, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@@ -237,6 +237,9 @@ public:
|
||||
// Returns the current UseAntiAliasing setting.
|
||||
bool GetUseAntiAliasing();
|
||||
|
||||
// Clear annotations from the given line.
|
||||
void AnnotationClearLine(int line);
|
||||
|
||||
|
||||
|
||||
// The following methods are nearly equivalent to their similarly named
|
||||
|
Reference in New Issue
Block a user