Function EditWidgetBase.currentLineRange

returns range for line with cursor

TextRange currentLineRange() @property;