another patch by Dekel

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@781 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2000-05-30 20:06:27 +00:00
parent 73b9ca2a4b
commit bdd630cd5a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-05-30 Dekel Tsur <dekel@math.tau.ac.il>
* src/trans_mgr.C (insertVerbatim): Do not use insetquote when the
text is Hebrew.
2000-05-27 Dekel Tsur <dekel@math.tau.ac.il> 2000-05-27 Dekel Tsur <dekel@math.tau.ac.il>
* src/text.C (draw): draw bars under foreign language words. * src/text.C (draw): draw bars under foreign language words.

View File

@ -290,7 +290,9 @@ void TransManager::insertVerbatim(string const & str, LyXText * text)
for (int i = 0; i < l; ++i){ for (int i = 0; i < l; ++i){
if (str[i] == '\"' if (str[i] == '\"'
&& text->GetFont(text->cursor.par, && text->GetFont(text->cursor.par,
text->cursor.pos).latex() == LyXFont::OFF) text->cursor.pos).latex() == LyXFont::OFF
&& text->GetFont(text->cursor.par,
text->cursor.pos).language()->lang != "hebrew")
current_view->insertCorrectQuote(); current_view->insertCorrectQuote();
else else
text->InsertChar(str[i]); text->InsertChar(str[i]);