* Licence details can be found in the file COPYING.
*
* \author unknown
- * \author John Levon
+ * \author John Levon
*
* Full author contact details are available in file CREDITS
*/
} // 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);