³ņ ¢õEc@sdZd„Zd„ZdS(sī This module documents functions that selects a line in the editor. @author: Lateef Alabi-Oki @organization: The Scribes Project @copyright: Copyright (c) 2005 Lateef Alabi-Oki @license: GNU GPLv2 or Later @contact: mystilleef@gmail.com cCsKddkl}||ƒ}|i|ƒ}|iƒ}|iƒ||fS(s Get the beginning and end position of a line in a gtk.TextBuffer. @param textbuffer: The textbuffer to operate on. @type textbuffer: A gtk.TextBuffer object. @return: The beginning and end position of a line. @rtype: A Tuple object containing a pair of gtk.TextIter. i’’’’(tget_cursor_line(tSCRIBES.cursorRtget_iter_at_linetcopytforward_to_line_end(t textbufferRt cursor_linetbegin_positiont end_position((splugins/Selection/lines.pytget_line_boundss    cCsAt|ƒ\}}|iƒdjotSn|i||ƒtS(s Select the current line in a gtk.TextBuffer. The current line is the line the cursor is on. @param textbuffer: The textbuffer to operate on. @type textbuffer: A gtk.TextBuffer object. @return: Return True if the operation is successful. @rtype: A Boolean object. s t(s R (R tget_chartFalset select_rangetTrue(RRR((splugins/Selection/lines.pyt select_line0s N(t__doc__R R(((splugins/Selection/lines.pyss