mouse_position_cache_(),
bookmark_edit_position_(-1), gui_(0),
horiz_scroll_offset_(0)
- {}
+ {
+ xsel_cache_.set = false;
+ }
///
ScrollbarParameters scrollbarParameters_;
// TransFSMData
-TransFSMData::TransFSMData()
+TransFSMData::TransFSMData() : deadkey_(0), deadkey2_(0), init_state_(0),
+ deadkey_state_(0), combined_state_(0), currentState(0)
{
- deadkey_ = deadkey2_ = 0;
- deadkey_info_.accent = deadkey2_info_.accent = TEX_NOACCENT;
}
///
struct Keyexc {
+ ///
+ Keyexc() : c('\0'), combined(false), accent(TEX_NOACCENT) {}
/// character to make exception
char_type c;
/// exception data
///
class KmodInfo {
public:
+ ///
+ KmodInfo() : accent(TEX_NOACCENT) {}
///
docstring data;
///
class CursorWidget {
public:
- CursorWidget() {
+ CursorWidget() : rtl_(false), l_shape_(false), completable_(false),
+ show_(false), x_(0), cursor_width_(0)
+ {
recomputeWidth();
}
GuiWorkArea::Private::Private(GuiWorkArea * parent)
-: p(parent), screen_(0), buffer_view_(0), lyx_view_(0), cursor_visible_(false),
+: p(parent), screen_(0), buffer_view_(0), read_only_(false), lyx_view_(0),
+cursor_visible_(false), cursor_(0),
need_resize_(false), schedule_redraw_(false), preedit_lines_(1),
pixel_ratio_(1.0),
-completer_(new GuiCompleter(p, p))
+completer_(new GuiCompleter(p, p)), dialog_mode_(false)
{
}
InsetMathDelim::InsetMathDelim(Buffer * buf, docstring const & l,
docstring const & r)
- : InsetMathNest(buf, 1), left_(l), right_(r)
+ : InsetMathNest(buf, 1), left_(l), right_(r), dw_(0)
{}
InsetMathDelim::InsetMathDelim(Buffer * buf, docstring const & l, docstring const & r,
MathData const & ar)
- : InsetMathNest(buf, 1), left_(l), right_(r)
+ : InsetMathNest(buf, 1), left_(l), right_(r), dw_(0)
{
cell(0) = ar;
}
namespace lyx {
InsetMathDots::InsetMathDots(latexkeys const * key)
- : key_(key)
+ : dh_(0), key_(key)
{}
InsetMathGrid::CellInfo::CellInfo()
- : multi_(CELL_NORMAL)
+ : multi_(CELL_NORMAL), glue_(0), begin_(0), end_(0)
{}
InsetMathGrid::RowInfo::RowInfo()
- : lines_(0), skip_(0), allow_newpage_(true)
+ : descent_(0), ascent_(0), offset_(0), lines_(0), skip_(0),
+ allow_newpage_(true)
{}
InsetMathGrid::ColInfo::ColInfo()
- : align_('c'), lines_(0), skip_(0)
+ : align_('c'), width_(0), offset_(0), lines_(0), skip_(0)
{}
InsetMathUnknown::InsetMathUnknown(docstring const & nm,
docstring const & selection, bool final, bool black)
- : name_(nm), final_(final), black_(black), selection_(selection)
+ : name_(nm), final_(final), black_(black), kerning_(0),
+ selection_(selection)
{}
InsetMathXYArrow::InsetMathXYArrow()
- : InsetMathNest(2)
+ : InsetMathNest(2), up_(false), target_(0)
{}
int flush_buffer();
public:
- gzstreambuf() : opened(0) {
+ gzstreambuf() : opened(0), mode(0) {
setp( buffer, buffer + (bufferSize-1));
setg( buffer + 4, // beginning of putback area
buffer + 4, // read position
class ltType {
public:
// constructor
- ltType() : topDL(false), bottomDL(false), empty(false) {}
+ ltType() : set(false), topDL(false), bottomDL(false), empty(false) {}
// we have this header type (is set in the getLT... functions)
bool set;
// double borders on top