Lines Matching +defs:right +defs:column
536 if (ctx->text.s.left != ctx->text.s.right)
1023 *value = (char *)_XawTextGetSTRING(ctx, s->left, s->right);
1105 *temp = (long)(s->right - s->left);
1119 temp[1] = s->right;
1267 salt->s.right = to;
1401 if (ctx->text.s.left != ctx->text.s.right)
1531 _DeleteOrKill(ctx, ctx->text.s.left, ctx->text.s.right, kill);
1551 if (ctx->text.s.left != ctx->text.s.right)
1559 ctx->text.s.left = ctx->text.s.right = insertPos;
1606 StripSpaces(TextWidget ctx, XawTextPosition left, XawTextPosition right,
1619 XawTextSourceRead(ctx->text.source, position, &block, (int)(right - left));
1647 &block, (int)(right - tmp));
1648 if (block.length == 0 || tmp == position || tmp >= right)
1655 XawTextSourceRead(ctx->text.source, position, &block, (int)(right - left));
1682 right -= count;
1707 &block, (int)(right - tmp));
1708 if (block.length == 0 || tmp == position || tmp >= right)
1718 Tabify(TextWidget ctx, XawTextPosition left, XawTextPosition right,
1722 int i, cpos, count = 0, column = 0, offset = 0;
1735 XawTextSourceRead(ctx->text.source, position, &block, (int)(right - left));
1744 ++column;
1746 if (column > tab_column + char_tabs[tab_index]) {
1757 if ((tab_count && column == tab_column + char_tabs[tab_index]) ||
1758 (!tab_count && column % TAB_SIZE == 0)) {
1778 ++column;
1780 if (column > tab_column + char_tabs[tab_index]) {
1791 if ((tab_count && column == tab_column + char_tabs[tab_index]) ||
1792 (!tab_count && column % TAB_SIZE == 0)) {
1813 right -= count - 1;
1839 count = column = 0;
1850 &block, (int)(right - tmp));
1851 if (tmp == position || tmp >= right)
1861 Untabify(TextWidget ctx, XawTextPosition left, XawTextPosition right,
1878 XawTextSourceRead(ctx->text.source, position, &block, (int)(right - left));
1943 right += text.length - 1;
1974 &block, (int)(right - tmp));
1975 if (tmp == position || tmp >= right)
1994 XawTextPosition right = SrcScan(ctx->text.source, left, XawstEOL,
2011 block.length = (int)(right - left);
2067 XawTextPosition right = SrcScan(ctx->text.source, left, XawstEOL,
2076 position = XawTextSourceRead(ctx->text.source, left, &block, (int)(right - left));
2077 if (block.length == 0 || left >= right ||
2090 if (Untabify(ctx, left, right, pos, num_pos, save) == False)
2092 right += ctx->text.lastPos - tmp;
2094 (int)(right - left));
2125 &block, (int)(right - position));
2143 right += bytes;
2156 && ipos <= right && ipos - left > ctx->text.right_column) {
2167 StripSpaces(ctx, left + skip, right, pos, num_pos, save);
2168 right += ctx->text.lastPos - len;
2176 if ((paragraph || done) && right - left > ctx->text.right_column) {
2177 position = tmp = right;
2193 && position != right) {
2199 right = position;
2210 if (count > right - left)
2211 count = (int)(count - (right - left));
2227 XawTextSourceRead(ctx->text.source, right, &block, 1);
2262 if (tmp < right)
3154 char left, right = text.ptr[0];
3158 left = right == ')' ? '(' : right == ']' ? '[' : '{';
3166 text.ptr[0] = right;
3821 if (ctx->text.s.left != ctx->text.s.right) {
3823 XawMin(ctx->text.s.left, ctx->text.s.right),
3826 XawMax(ctx->text.s.left, ctx->text.s.right),
4026 * with the character to the right of the mark */
4234 XawTextPosition left, right;
4241 right = SrcScan(ctx->text.source, left = ctx->text.insertPos,
4244 left = SrcScan(ctx->text.source, right = ctx->text.insertPos,
4248 block.length = (int)(right - left);
4249 block.ptr = _XawTextGetText(ctx, left, right);
4291 if (changed && _XawTextReplace(ctx, left, right, &block) != XawEditDone)
4293 ctx->text.insertPos = right;