aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/EditView.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-05-14 14:39:55 +1000
committerNeil <nyamatongwe@gmail.com>2018-05-14 14:39:55 +1000
commit3fe056899ac8ad4882f59e196aaa56cd31c2e547 (patch)
treedcbd61fefbf0dad1472713d890b7c9d6fc8d4814 /src/EditView.h
parentc4aa7826f3d2178e39e5bff2f6886d7d3d3f46d7 (diff)
downloadscintilla-mirror-3fe056899ac8ad4882f59e196aaa56cd31c2e547.tar.gz
Modernize Platform.h (4) - update Surface to use string_view for text arguments.
Diffstat (limited to 'src/EditView.h')
-rw-r--r--src/EditView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/EditView.h b/src/EditView.h
index f649f7c87..51e2a1e53 100644
--- a/src/EditView.h
+++ b/src/EditView.h
@@ -36,7 +36,7 @@ enum DrawPhase {
bool ValidStyledText(const ViewStyle &vs, size_t styleOffset, const StyledText &st);
int WidestLineWidth(Surface *surface, const ViewStyle &vs, int styleOffset, const StyledText &st);
void DrawTextNoClipPhase(Surface *surface, PRectangle rc, const Style &style, XYPOSITION ybase,
- const char *s, int len, DrawPhase phase);
+ std::string_view text, DrawPhase phase);
void DrawStyledText(Surface *surface, const ViewStyle &vs, int styleOffset, PRectangle rcText,
const StyledText &st, size_t start, size_t length, DrawPhase phase);