#endif
using std::pair;
+using lyx::pos_type;
extern BufferView * current_view;
// only within one paragraph
if (realcut)
buf = new Paragraph;
- Paragraph::size_type i = start;
+ pos_type i = start;
if (end > startpar->size())
end = startpar->size();
for (; i < end; ++i) {
textclass = tc;
- if (!endpar ||
- startpar == endpar) {
+ if (!endpar || startpar == endpar) {
// only within one paragraph
buf = new Paragraph;
- Paragraph::size_type i = start;
+ pos_type i = start;
if (end > startpar->size())
end = startpar->size();
for (; i < end; ++i) {
tmppar2->next(0);
// the buf paragraph is too big
- Paragraph::size_type tmpi2 = start;
+ pos_type tmpi2 = start;
for (; tmpi2; --tmpi2)
buf->erase(0);