"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/spellerdialog.cpp" between
texstudio-3.1.0.tar.gz and texstudio-3.1.1.tar.gz

About: TeXstudio is an integrated environment for writing LaTeX documents (as easy and comfortable as possible).

spellerdialog.cpp  (texstudio-3.1.0):spellerdialog.cpp  (texstudio-3.1.1)
skipping to change at line 181 skipping to change at line 181
tl=dlh->getCookieLocked(QDocumentLine::LEXER_COOKIE).value<TokenList >() ; tl=dlh->getCookieLocked(QDocumentLine::LEXER_COOKIE).value<TokenList >() ;
while(tokenListIndex<tl.length()-1){ while(tokenListIndex<tl.length()-1){
++tokenListIndex; ++tokenListIndex;
Token tk=tl.at(tokenListIndex); Token tk=tl.at(tokenListIndex);
if (tk.type!=Token::word) if (tk.type!=Token::word)
continue; continue;
if(tk.subtype != Token::text && tk.subtype != Token::title && tk.sub type != Token::shorttitle && tk.subtype != Token::todo && tk.subtype != Token::n one) if(tk.subtype != Token::text && tk.subtype != Token::title && tk.sub type != Token::shorttitle && tk.subtype != Token::todo && tk.subtype != Token::n one)
continue; continue;
QString word=tk.getText(); QString word=tk.getText();
word = latexToPlainWordwithReplacementList(word, mReplacementList); word = latexToPlainWordwithReplacementList(word, mReplacementList);
if (m_speller->check(word)) continue; if (tk.ignoreSpelling || m_speller->check(word)) continue;
QStringList suggWords = m_speller->suggest(word); QStringList suggWords = m_speller->suggest(word);
QDocumentCursor wordSelection(editor->document(), curLine, tk.start) ; QDocumentCursor wordSelection(editor->document(), curLine, tk.start) ;
wordSelection.movePosition(tk.length, QDocumentCursor::NextCharacter , QDocumentCursor::KeepAnchor); wordSelection.movePosition(tk.length, QDocumentCursor::NextCharacter , QDocumentCursor::KeepAnchor);
editor->setCursor(wordSelection); editor->setCursor(wordSelection);
ui.listSuggestions->setEnabled(true); ui.listSuggestions->setEnabled(true);
ui.lineEditNew->setEnabled(true); ui.lineEditNew->setEnabled(true);
ui.pushButtonIgnore->setEnabled(true); ui.pushButtonIgnore->setEnabled(true);
ui.pushButtonAlwaysIgnore->setEnabled(true); ui.pushButtonAlwaysIgnore->setEnabled(true);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)