} // namespace anon
-// Constructor
XScreen::XScreen(XWorkArea & o)
: LyXScreen(), owner_(o)
{
void XScreen::setCursorColor()
{
- if (!lyxColorHandler.get()) return;
+ if (!lyxColorHandler.get())
+ return;
GC gc = lyxColorHandler->getGCForeground(LColor::cursor);
void XScreen::draw(LyXText * text, BufferView * bv, unsigned int y)
{
- if (cursor_visible_) hideCursor();
+ if (cursor_visible_)
+ hideCursor();
int const old_first = text->first_y;
bool const internal = (text == bv->text);
}
XSync(fl_get_display(), 0);
-}
+}