Le 20/05/2015 02:20, Willy@develop a écrit : > On wo, 2015-05-20 at 00:31 +0200, Benoît Minisini wrote: >> Hi, >> >> Since revision #7089, the IDE uses the new TextEditor control that >> replaced the Editor control. > > Will TextEditor and Editor be code compatible? > I mean when changing from Editor to TextEditor would the same code for > Editor still work for TextEditor or would one have to rewrite all? >
They are not 100% compatible: - The Editor.Flags[] array has been replaced by one boolean property for each flag. TextEditor.ShowLimit, TextEditor.ShowCurrent... - The Editor.Lines[] array is replaced by the TextEditor[] array. - Editor.Lines.Count is now TextEditor.Count. - Folding is not yet implemented. - TextEditor.Highlight now takes a string ("c","c++","gambas"), not an integer constant. - Selection is now indicated by the SelectionLine and SelectionColumn properties. Everything between (SelectionColumn,SelectionLine) and (Column,Line) is selected. - A style has one color only now, not foreground and background anymore. - Italic has been removed from styles. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user