// Set the display mode of visual flags for wrapped lines.
void SetWrapVisualFlags(int wrapVisualFlags);
- // Retrieve the display mode of visual flags for wrapped lines.
+ // Retrive the display mode of visual flags for wrapped lines.
int GetWrapVisualFlags() const;
// Set the location of visual flags for wrapped lines.
void SetWrapVisualFlagsLocation(int wrapVisualFlagsLocation);
- // Retrieve the location of visual flags for wrapped lines.
+ // Retrive the location of visual flags for wrapped lines.
int GetWrapVisualFlagsLocation() const;
// Set the start indent for wrapped lines.
void SetWrapStartIndent(int indent);
- // Retrieve the start indent for wrapped lines.
+ // Retrive the start indent for wrapped lines.
int GetWrapStartIndent() const;
// Sets how wrapped sublines are placed. Default is fixed.
// Delete forwards from the current position to the end of the line.
void DelLineRight();
- // Get and Set the xOffset (ie, horizontal scroll position).
+ // Get and Set the xOffset (ie, horizonal scroll position).
void SetXOffset(int newOffset);
int GetXOffset() const;
////////////////////////////////////////////////////////////////////////////
-// Name: src/stc/stc.cpp
+// Name: stc.cpp
// Purpose: A wxWidgets implementation of Scintilla. This class is the
// one meant to be used directly by wx applications. It does not
// derive directly from the Scintilla classes, but instead
const wxColour& background) {
SendMsg(2040, markerNumber, markerSymbol);
- if (foreground.IsOk())
+ if (foreground.Ok())
MarkerSetForeground(markerNumber, foreground);
- if (background.IsOk())
+ if (background.Ok())
MarkerSetBackground(markerNumber, background);
}
SendMsg(2460, wrapVisualFlags, 0);
}
-// Retrieve the display mode of visual flags for wrapped lines.
+// Retrive the display mode of visual flags for wrapped lines.
int wxStyledTextCtrl::GetWrapVisualFlags() const
{
return SendMsg(2461, 0, 0);
SendMsg(2462, wrapVisualFlagsLocation, 0);
}
-// Retrieve the location of visual flags for wrapped lines.
+// Retrive the location of visual flags for wrapped lines.
int wxStyledTextCtrl::GetWrapVisualFlagsLocation() const
{
return SendMsg(2463, 0, 0);
SendMsg(2464, indent, 0);
}
-// Retrieve the start indent for wrapped lines.
+// Retrive the start indent for wrapped lines.
int wxStyledTextCtrl::GetWrapStartIndent() const
{
return SendMsg(2465, 0, 0);