mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 10:18:50 +00:00
Compare commits
4 Commits
d6fba3b94e
...
df1ba8ee59
Author | SHA1 | Date | |
---|---|---|---|
|
df1ba8ee59 | ||
|
6e832efbde | ||
|
b2d157a4da | ||
|
a2c1229ac1 |
@ -24,6 +24,7 @@
|
||||
#include <QLabel>
|
||||
#include <QList>
|
||||
#include <QTabWidget>
|
||||
#include <QTabBar>
|
||||
#include <QValidator>
|
||||
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include <QClipboard>
|
||||
#include <QDate>
|
||||
#include <QFile>
|
||||
#include <QRegularExpression>
|
||||
#include <QTextStream>
|
||||
|
||||
using namespace lyx::support;
|
||||
|
@ -113,6 +113,7 @@
|
||||
#include <QSocketNotifier>
|
||||
#include <QSortFilterProxyModel>
|
||||
#include <QStandardItemModel>
|
||||
#include <QStyle>
|
||||
#include <QSvgRenderer>
|
||||
#include <QTimer>
|
||||
#include <QTranslator>
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include <QCloseEvent>
|
||||
#include <QDialogButtonBox>
|
||||
#include <QColorDialog>
|
||||
#include <QRegularExpression>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "support/pmprof.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QFontInfo>
|
||||
#include <QRawFont>
|
||||
#include <QtEndian>
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "support/Lexer.h"
|
||||
#include "support/lstrings.h"
|
||||
|
||||
#include "Buffer.h"
|
||||
#include "BufferParams.h"
|
||||
#include "IndicesList.h"
|
||||
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "LaTeXHighlighter.h"
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include <QPalette>
|
||||
#include <QRegularExpression>
|
||||
#include <QString>
|
||||
#include <QTextDocument>
|
||||
|
||||
|
@ -16,6 +16,8 @@
|
||||
#include "Format.h"
|
||||
#include "FuncRequest.h"
|
||||
#include "LyXAction.h"
|
||||
|
||||
#include <QString>
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "support/debug.h"
|
||||
|
@ -12,8 +12,10 @@
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <QString>
|
||||
#include "qt_helpers.h"
|
||||
|
||||
#include "Buffer.h"
|
||||
#include "Format.h"
|
||||
#include "LengthCombo.h"
|
||||
#include "LyXRC.h"
|
||||
@ -33,6 +35,7 @@
|
||||
#include <QComboBox>
|
||||
#include <QDesktopServices>
|
||||
#include <QDir>
|
||||
#include <QHeaderView>
|
||||
#include <QInputDialog>
|
||||
#include <QLineEdit>
|
||||
#include <QMessageBox>
|
||||
|
@ -13,7 +13,6 @@
|
||||
#ifndef QTHELPERS_H
|
||||
#define QTHELPERS_H
|
||||
|
||||
#include "Buffer.h"
|
||||
#include "ColorSet.h"
|
||||
#include "support/Length.h"
|
||||
#include "support/qstring_helpers.h"
|
||||
@ -22,15 +21,16 @@
|
||||
|
||||
#include <list>
|
||||
|
||||
#include <QHeaderView>
|
||||
|
||||
class QComboBox;
|
||||
class QLineEdit;
|
||||
class QString;
|
||||
class QWidget;
|
||||
class QAbstractItemView;
|
||||
|
||||
namespace lyx {
|
||||
|
||||
class Buffer;
|
||||
|
||||
namespace support { class FileName; }
|
||||
|
||||
namespace frontend {
|
||||
|
@ -882,6 +882,9 @@ void Parser::tokenize_one()
|
||||
if (!is_) {
|
||||
error("unexpected end of input");
|
||||
} else {
|
||||
// A single \ at the end of a line is like "\ "
|
||||
if (catcode(c) == catNewline)
|
||||
c = ' ';
|
||||
docstring s(1, c);
|
||||
if (catcode(c) == catLetter) {
|
||||
// collect letters
|
||||
|
Loading…
Reference in New Issue
Block a user