# HG changeset patch
# User Edouard Tisserant
# Date 1553170249 -3600
# Node ID 450c6239ee75f5bb61484ebf04f2ee13ee596db3
# Parent  9812b332f3509a405a4501a7aaba5ea4c29ffbfe
WIP adding searching capabilities in python files. was done :
    - fixed highlighting search result in text body of CTN code editor.

diff -r 9812b332f350 -r 450c6239ee75 editors/CodeFileEditor.py
--- a/editors/CodeFileEditor.py	Thu Mar 21 13:04:26 2019 +0100
+++ b/editors/CodeFileEditor.py	Thu Mar 21 13:10:49 2019 +0100
@@ -936,13 +936,13 @@
         if self.VariablesPanel is not None and infos[0] == "var_inout":
             self.VariablesPanel.AddVariableHighlight(infos[1:], highlight_type)
         else:
-            self.CodeEditor.AddHighlight(infos, start, end, highlight_type)
+            self.CodeEditor.AddHighlight(start, end, highlight_type)
 
     def RemoveHighlight(self, infos, start, end, highlight_type):
         if self.VariablesPanel is not None and infos[0] == "var_inout":
             self.VariablesPanel.RemoveVariableHighlight(infos[1:], highlight_type)
         else:
-            self.CodeEditor.RemoveHighlight(infos, start, end, highlight_type)
+            self.CodeEditor.RemoveHighlight(start, end, highlight_type)
 
     def ClearHighlights(self, highlight_type=None):
         if self.VariablesPanel is not None: