Changeset 27571
- Timestamp:
- 11/16/08 19:14:14 (2 months ago)
- Files:
-
- lyx-devel/trunk/src/Paragraph.cpp (modified) (2 diffs)
- lyx-devel/trunk/src/Paragraph.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lyx-devel/trunk/src/Paragraph.cpp
r27529 r27571 2085 2085 } 2086 2086 2087 if (c == ' ' && i >= start_pos && i < end_pos) { 2087 // FIXME: think about end_pos implementation... 2088 if (c == ' ' && i >= start_pos && (end_pos == -1 || i < end_pos)) { 2088 2089 // FIXME: integrate this case in latexSpecialChar 2089 2090 // Do not print the separation of the optional argument … … 2114 2115 // and then split to handle the two modes separately. 2115 2116 if (c == META_INSET) { 2116 if (i >= start_pos && i < end_pos) 2117 d->latexInset(bparams, os, 2118 texrow, rp, running_font, 2119 basefont, outerfont, open_font, 2120 runningChange, style, i, column); 2117 if (i >= start_pos && (end_pos == -1 || i < end_pos)) { 2118 d->latexInset(bparams, os, 2119 texrow, rp, running_font, 2120 basefont, outerfont, open_font, 2121 runningChange, style, i, column); 2122 } 2121 2123 } else { 2122 if (i >= start_pos && i < end_pos) {2123 try {2124 d->latexSpecialChar(os, rp, running_font, runningChange,2125 style, i, column);2126 } catch (EncodingException & e) {2124 if (i >= start_pos && (end_pos == -1 || i < end_pos)) { 2125 try { 2126 d->latexSpecialChar(os, rp, running_font, runningChange, 2127 style, i, column); 2128 } catch (EncodingException & e) { 2127 2129 if (runparams.dryrun) { 2128 2130 os << "<" << _("LyX Warning: ") lyx-devel/trunk/src/Paragraph.h
r27521 r27571 134 134 bool latex(BufferParams const &, Font const & outerfont, odocstream &, 135 135 TexRow & texrow, OutputParams const &, 136 int start_pos = -1, int end_pos = -1) const;136 int start_pos = 0, int end_pos = -1) const; 137 137 138 138 /// Can we drop the standard paragraph wrapper?
