Commit 36c870e7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix typos

parent dcd8a101
...@@ -1560,7 +1560,7 @@ void fp_TextRun::_draw(dg_DrawArgs* pDA) ...@@ -1560,7 +1560,7 @@ void fp_TextRun::_draw(dg_DrawArgs* pDA)
#endif #endif
// //
// This code makes sure we don't fill past the right edge of text. // This code makes sure we don't fill past the right edge of text.
// Full Justified text often as a space at the right edge of the text. // Full Justified text often has a space at the right edge of the text.
// This space is counted in the width even though the text is aligned // This space is counted in the width even though the text is aligned
// to the correct edge. // to the correct edge.
// //
...@@ -1787,7 +1787,7 @@ void fp_TextRun::_draw(dg_DrawArgs* pDA) ...@@ -1787,7 +1787,7 @@ void fp_TextRun::_draw(dg_DrawArgs* pDA)
runs are overhanging (i.e., italicized) and if we are in a screen-like runs are overhanging (i.e., italicized) and if we are in a screen-like
context (screen-like context is one in which drawing a white rectangle context (screen-like context is one in which drawing a white rectangle
over a piece of text results in the text being erased; apart from over a piece of text results in the text being erased; apart from
the sreen, a Windows printer can behave like this). the screen, a Windows printer can behave like this).
*/ */
if(pG->queryProperties(GR_Graphics::DGP_SCREEN) && pG->queryProperties(GR_Graphics::DGP_OPAQUEOVERLAY)) if(pG->queryProperties(GR_Graphics::DGP_SCREEN) && pG->queryProperties(GR_Graphics::DGP_OPAQUEOVERLAY))
......
...@@ -4818,7 +4818,7 @@ bool FV_View::setCharFormat(const gchar * properties[], const gchar * attribs[]) ...@@ -4818,7 +4818,7 @@ bool FV_View::setCharFormat(const gchar * properties[], const gchar * attribs[])
(ctrl+space). The idea is this: we use props and attributes to store things that are (ctrl+space). The idea is this: we use props and attributes to store things that are
not strictly speaking text fmt. For example, spellchecker language is a property, but not strictly speaking text fmt. For example, spellchecker language is a property, but
not strictly text fmt; when pressing ctrl+space, more often than not the user wants to not strictly text fmt; when pressing ctrl+space, more often than not the user wants to
get rid of bold, italics, etc., but not of the langauge markup. So we exercise a get rid of bold, italics, etc., but not of the language markup. So we exercise a
degree of discretion. degree of discretion.
TODO: cleanup justification too TODO: cleanup justification too
......
...@@ -103,7 +103,7 @@ class ABI_EXPORT PD_DocIterator : public UT_TextIterator ...@@ -103,7 +103,7 @@ class ABI_EXPORT PD_DocIterator : public UT_TextIterator
* *
* PD_StruxIterator iterates over the contents of document from a * PD_StruxIterator iterates over the contents of document from a
* given strux onwards; in contrast to PD_DocIterator above, it does * given strux onwards; in contrast to PD_DocIterator above, it does
* not rely on PT fragments being clean, but calculates offest from * not rely on PT fragments being clean, but calculates offset from
* the starting strux from lengths of individual fragments * the starting strux from lengths of individual fragments
* *
*/ */
......
...@@ -1519,7 +1519,7 @@ void s_RTF_ListenerWriteDoc::_outputData(const UT_UCSChar * data, UT_uint32 leng ...@@ -1519,7 +1519,7 @@ void s_RTF_ListenerWriteDoc::_outputData(const UT_UCSChar * data, UT_uint32 leng
for (pData=data; (pData<data+length); /**/) for (pData=data; (pData<data+length); /**/)
{ {
// first handle direciton issues // first handle direction issues
UT_BidiCharType type = UT_BIDI_LTR; UT_BidiCharType type = UT_BIDI_LTR;
if( !bIgnorePosition if( !bIgnorePosition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment