dist/learn.py
def mouseup(self, ev):
		"""If nothing was selected by the mouse, set cursor to prompt."""
		sel_start = self.input.selectionStart
		sel_end = self.input.selectionEnd
		if sel_end == sel_start:
			self.cursor_to_end()
If nothing was selected by the mouse, set cursor to prompt.
If nothing was selected by the mouse, set cursor to prompt.
If nothing was selected by the mouse set cursor to prompt .
def mouseup(self, ev):
		sel_start = self.input.selectionStart
		sel_end = self.input.selectionEnd
		if sel_end == sel_start:
			self.cursor_to_end()
def mouseup ( self , ev ) : sel_start = self . input . selectionStart sel_end = self . input . selectionEnd if sel_end == sel_start : self . cursor_to_end ( )
If nothing was selected by the mouse, set cursor to prompt.
If nothing was selected by the mouse set cursor to prompt .
"""If nothing was selected by the mouse, set cursor to prompt."""
self
ev