Lines Matching refs:to

18 // - Check for correctness and possible optimizations the calls to _Refresh(),
19 // to refresh only changed parts of text (currently we often redraw the whole
533 // what lines need to be drawn?
714 // (no need to hide the cursor)
769 // ignore, pass it up to superclass
1207 // apply null-style to inserted text
1275 // anything to delete?
1290 // check if the caret needs to be moved
1627 // apply the style to the style buffer
1853 // convert to text rect coordinates
1996 // whitespace follows (not perfect, but seems to do the right thing most
2019 // to the width
2033 // style's font height or fall back to the plain font.
2119 // include first line from start of selection to end of window
2129 // include middle lines from start to end of window
2139 // include last line start of window to end of selection
2259 // reset text rect to bounds minus insets ...
2375 // they are made editable, so we need to invalidate
2568 // We need to reset the right inset, as otherwise the auto-resize would
2569 // get confused about just how wide the textview needs to be.
2570 // This seems to be an artifact of how Tracker creates the textview
2702 // When not editable, we assume that all text is supposed to be visible.
2731 // If specific insets were set, add the top and bottom margins to the returned preferred height
2744 // Restore the text rect since we were not supposed to change it in this method.
2746 // not so easily undone. However, we are likely to soon get resized to the new width and height
2865 // was allocated with malloc (and has to, for backwards
2979 // even if the family doesn't exist, we try to preserve the style
2990 // Be's version doesn't seem to set this correctly
3019 // add the text to the buffer
3038 // apply null-style to inserted text
3062 // set nullStyle to style at beginning of range
3101 \param clipboard A \a clipboard to use for the undo operation.
3216 // to have less code duplication, and a single place where to do changes
3221 // text rect maintains constant insets, use SetInsets() to change.
3319 // return if there's nowhere to go
3355 // extend selection to the left
3382 // extend selection to the right
3425 // extend selection to the top
3461 // extend selection to the bottom
3587 // extend selection to the left
3611 // If we are on the last line, just go to the last
3613 // offset of the next line, and go to the previous character
3619 // This check is needed to avoid moving the cursor
3634 // extend selection to the right
3665 // extend selection to the top
3695 // extend selection to the bottom
3778 \param fromOffset The offset from where to refresh.
3779 \param toOffset The offset where to refresh to.
3780 \param scrollTo Scroll the view to \a scrollTo offset if not \c INT32_MIN.
3848 \param startLine The line number to start recalculating line breaks.
3849 \param endLine The line number to stop recalculating line breaks.
3858 // don't try to compute anything if the text rect is not set
3881 // we want to advance at least by one character
3990 // try to return valid height info anyway
4043 // have to skip non-whitespace characters, that can end
4085 // reset string width to start of current run ...
4091 // width of visible characters exceeds line, we need to wrap
4205 // need to look at previous char
4215 // skip to start of word
4239 // skip to end of word
4294 \param fromOffset The offset where to start.
4295 \param length The length of the text to examine.
4296 \param _ascent A pointer to a float which will contain the maximum ascent.
4297 \param _descent A pointer to a float which will contain the maximum descent.
4435 // do we have any text to draw?
4511 // nothing more to do
4515 // subtract distance from left to line
4520 // subtract half distance from left to line
4554 // clip the text extending to end of selection
4566 // set the low color to the view color so that
4567 // drawing to a non-white background will work
4595 // erase only to the right of startOffset
4621 // Set this to -1 so the next iteration will use the line offset
4656 STELine* to = endLine == maxLine ? NULL : (*fLines)[endLine + 1];
4659 to != NULL ? to->origin + fTextRect.top : fTextRect.bottom);
4711 \param offset The offset (zero based within the object's text) where to
4717 // does the caret need to move?
4778 // to another index or more than three pixels from where it was clicked,
4842 // position caret to follow the direction of the selection
5000 // R5 does a pretty soft auto-scroll, we try to do the same by
5077 //! Scrolls to the given position, making sure not to scroll out of bounds.
5106 //! Autoresizes the view to fit the contained text.
5131 // scroll rect to start, there is room for full text
5170 cursor to \c B_CURSOR_I_BEAM.
5353 //! Unhilights the selection, set the cursor to \c B_CURSOR_SYSTEM_DEFAULT.
5427 /*! Changes the passed in font to be displayable by the object.
5429 Set font rotation to 0, removes any font flag, set font spacing
5430 to \c B_BITMAP_SPACING and font encoding to \c B_UNICODE_UTF8.
5480 // And what about other languages ? Isn't there a better way to check
5482 // Andrew suggested to have a look at UnicodeBlockObject.h
5540 \param offset The offset where to start looking.
5559 \param offset The offset where to start looking.
5720 // Get the clauses, and pass them to the InlineInput object
5740 // now we need to feed ourselves the individual characters as if the
5813 //! Tells the Input Server method add-on to stop the current transaction.
5839 need to be correct about that.) N.B.
5855 need to be correct about that.) N.B.
5884 // Declared before the if so it stays allocated until the call to
5894 // always apply font and color to full range for non-stylable textviews
6011 // text to be hidden
6021 // only add default insets if text rect is set to bounds
6127 // has to work neverthless, so we "fake" a MouseMoved() call here.