diff options
author | nyamatongwe <devnull@localhost> | 2013-05-01 20:36:30 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-05-01 20:36:30 +1000 |
commit | dad947286b08f9a303074e2f88e65d63d0090b74 (patch) | |
tree | a0de90fab4802954b949d5dbcba2301327cc873a /src/Document.h | |
parent | b1051ba9ece39aae86bed19c3c4b965ab5e86058 (diff) | |
download | scintilla-mirror-dad947286b08f9a303074e2f88e65d63d0090b74.tar.gz |
Replacing raw pointers and allocations with std::vector and std::string.
Diffstat (limited to 'src/Document.h')
-rw-r--r-- | src/Document.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Document.h b/src/Document.h index cb2f00d7a..b14375acc 100644 --- a/src/Document.h +++ b/src/Document.h @@ -316,6 +316,7 @@ public: int FindColumn(int line, int column); void Indent(bool forwards, int lineBottom, int lineTop); static char *TransformLineEnds(int *pLenOut, const char *s, size_t len, int eolModeWanted); + static std::string TransformLineEnds(const char *s, size_t len, int eolModeWanted); void ConvertLineEnds(int eolModeSet); void SetReadOnly(bool set) { cb.SetReadOnly(set); } bool IsReadOnly() { return cb.IsReadOnly(); } |