equal
deleted
inserted
replaced
242 \a buffer is an optional working buffer of size \a bufferSize you can pass to |
242 \a buffer is an optional working buffer of size \a bufferSize you can pass to |
243 the QTextBoundaryFinder. If the buffer is large enough to hold the working |
243 the QTextBoundaryFinder. If the buffer is large enough to hold the working |
244 data required, it will use this instead of allocating its own buffer. |
244 data required, it will use this instead of allocating its own buffer. |
245 |
245 |
246 \warning QTextBoundaryFinder does not create a copy of \a chars. It is the |
246 \warning QTextBoundaryFinder does not create a copy of \a chars. It is the |
247 application programmer's responsability to ensure the array is allocated for |
247 application programmer's responsibility to ensure the array is allocated for |
248 as long as the QTextBoundaryFinder object stays alive. The same applies to |
248 as long as the QTextBoundaryFinder object stays alive. The same applies to |
249 \a buffer. |
249 \a buffer. |
250 */ |
250 */ |
251 QTextBoundaryFinder::QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer, int bufferSize) |
251 QTextBoundaryFinder::QTextBoundaryFinder(BoundaryType type, const QChar *chars, int length, unsigned char *buffer, int bufferSize) |
252 : t(type) |
252 : t(type) |