Suppress opening "files" in angle brackets. 6_1_x

Sun, 26 Jun 2016 21:29:18 +0200

author
T.Rzepka <Tobias.Rzepka@gmail.com>
date
Sun, 26 Jun 2016 21:29:18 +0200
branch
6_1_x
changeset 5010
4990220334dc
parent 5003
22c59d1ea818
child 5016
520b6ed85476

Suppress opening "files" in angle brackets.
(grafted from 82e91d2f59a10969f4c4a68a0761965df2f2ae27)

ViewManager/ViewManager.py file | annotate | diff | comparison | revisions
--- a/ViewManager/ViewManager.py	Thu Jun 23 19:17:46 2016 +0200
+++ b/ViewManager/ViewManager.py	Sun Jun 26 21:29:18 2016 +0200
@@ -4578,8 +4578,9 @@
         @param fn filename of editor to update (string)
         @param line line number to highlight (int)
         """
-        self.openSourceFile(fn, line)
-        self.setFileLine(fn, line)
+        if not fn.startswith('<'):
+            self.openSourceFile(fn, line)
+            self.setFileLine(fn, line)
         
     def setFileLine(self, fn, line, error=False, syntaxError=False):
         """

eric ide

mercurial