~marmuta/onboardosk/trunk

« back to all changes in this revision

Viewing changes to src/libonboardosk/textcontext.cpp

  • Committer: marmuta
  • Date: 2017-08-23 22:00:55 UTC
  • mfrom: (0.1.25 onboardosk)
  • Revision ID: marmvta@gmail.com-20170823220055-4y6meaas01uct8wm
Attempt at reducing include dependencies. Marginally effective.

Show diffs side-by-side

added added

removed removed

Lines of Context:
342
342
 
343
343
TextSpanPtr TextContextAtspi::get_span_at_caret() const
344
344
{
345
 
    if (!m_ui_element)
 
345
    if (!m_ui_element ||
 
346
        !m_selection_span)
346
347
        return {};
347
348
 
348
349
    auto span = m_selection_span->clone();