diff options
author | Patrick Monnerat <[email protected]> | 2019-05-10 16:26:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-05-21 09:36:44 +0200 |
commit | e88a2ea8adb4a57c9cf5c44fe30c210c8608361b (patch) | |
tree | a70133a625b31710d79dc5fdd77589b69e24c003 /plugins/externaltools/tools/outputpanel.py | |
parent | 676669e4e87130f639e118671d754a5e538f191c (diff) | |
download | pluma-e88a2ea8adb4a57c9cf5c44fe30c210c8608361b.tar.bz2 pluma-e88a2ea8adb4a57c9cf5c44fe30c210c8608361b.tar.xz |
Reindent all Python sources to ts=4. Strip trailing spaces.
Diffstat (limited to 'plugins/externaltools/tools/outputpanel.py')
-rwxr-xr-x | plugins/externaltools/tools/outputpanel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/externaltools/tools/outputpanel.py b/plugins/externaltools/tools/outputpanel.py index 9613d78c..e063eb20 100755 --- a/plugins/externaltools/tools/outputpanel.py +++ b/plugins/externaltools/tools/outputpanel.py @@ -129,11 +129,11 @@ class OutputPanel(UniqueById): # find all links and apply the appropriate tag for them links = self.link_parser.parse(text) for lnk in links: - + insert_iter = buffer.get_iter_at_mark(insert) lnk.start = insert_iter.get_offset() + lnk.start lnk.end = insert_iter.get_offset() + lnk.end - + start_iter = buffer.get_iter_at_offset(lnk.start) end_iter = buffer.get_iter_at_offset(lnk.end) @@ -156,7 +156,7 @@ class OutputPanel(UniqueById): panel.show() panel.activate_item(self.panel) - def update_cursor_style(self, view, x, y): + def update_cursor_style(self, view, x, y): if self.get_link_at_location(view, x, y) is not None: cursor = self.link_cursor else: |