diff options
Diffstat (limited to '')
| -rw-r--r-- | src/unstable/textbuilder.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/unstable/textbuilder.cpp b/src/unstable/textbuilder.cpp index af4dbac..5209e7b 100644 --- a/src/unstable/textbuilder.cpp +++ b/src/unstable/textbuilder.cpp | |||
| @@ -191,7 +191,12 @@ void Bu::TextBuilderCore::set( const CodePoint *pSrc, int32_t iLength ) | |||
| 191 | 191 | ||
| 192 | void Bu::TextBuilderCore::copyTo( void *pDestRaw, int32_t iLength ) | 192 | void Bu::TextBuilderCore::copyTo( void *pDestRaw, int32_t iLength ) |
| 193 | { | 193 | { |
| 194 | 194 | CodePoint *pDest = reinterpret_cast<CodePoint *>( pDestRaw ); | |
| 195 | |||
| 196 | Chunk *pCur = pFirst; | ||
| 197 | while( pCur && iLength ) | ||
| 198 | { | ||
| 199 | } | ||
| 195 | } | 200 | } |
| 196 | 201 | ||
| 197 | Bu::CodePoint Bu::TextBuilderCore::getAt( int32_t iIndex ) const | 202 | Bu::CodePoint Bu::TextBuilderCore::getAt( int32_t iIndex ) const |
| @@ -270,6 +275,11 @@ Bu::Text Bu::TextBuilder::getText() const | |||
| 270 | return Text( *this ); | 275 | return Text( *this ); |
| 271 | } | 276 | } |
| 272 | 277 | ||
| 278 | void Bu::TextBuilder::copyTo( void *pDestRaw, int32_t iDestSize ) const | ||
| 279 | { | ||
| 280 | core->copyTo( pDestRaw, iDestSize ); | ||
| 281 | } | ||
| 282 | |||
| 273 | Bu::CodePoint Bu::TextBuilder::operator[]( int32_t iIndex ) const | 283 | Bu::CodePoint Bu::TextBuilder::operator[]( int32_t iIndex ) const |
| 274 | { | 284 | { |
| 275 | return core->getAt( iIndex ); | 285 | return core->getAt( iIndex ); |
