X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBidi.cpp;h=d5a631ea2e31f19c24aa64e5810079317132dcfc;hb=53f8d6d6d373460bdcfebd20d6f826e3915c84ff;hp=a85f3eaddd26d4c64b035293e8abf9b448e953db;hpb=aafd52f44167d5510be1ddcb974daa9dae486933;p=lyx.git diff --git a/src/Bidi.cpp b/src/Bidi.cpp index a85f3eaddd..d5a631ea2e 100644 --- a/src/Bidi.cpp +++ b/src/Bidi.cpp @@ -108,6 +108,7 @@ void Bidi::computeTables(Paragraph const & par, pos_type const pos = (is_space && lpos + 1 <= end_ && !par.isLineSeparator(lpos + 1) && + !par.isEnvSeparator(lpos + 1) && !par.isNewline(lpos + 1)) ? lpos + 1 : lpos;