Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-04 Thread Bilu Al
where exactly? Le jeu. 4 juin 2020 à 00:54, Laszlo Kishalmi a écrit : > Folding and indentation support shall be registered at other places in the > layer file. > On 6/3/20 8:50 AM, Emilian Bold wrote: > > Aren't you using an annotation which creates a generated-layer? > > --emi > > > On Wed, Ju

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Laszlo Kishalmi
Folding and indentation support shall be registered at other places in the layer file. On 6/3/20 8:50 AM, Emilian Bold wrote: Aren't you using an annotation which creates a generated-layer? --emi On Wed, Jun 3, 2020 at 6:45 PM Bilu Al > wrote: yes it works eve

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
Aren't you using an annotation which creates a generated-layer? --emi On Wed, Jun 3, 2020 at 6:45 PM Bilu Al wrote: > yes it works even without registering it in the layer.xml. Should be > another API probably... > > Le mer. 3 juin 2020 à 16:43, Emilian Bold a > écrit : > >> So code folding w

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Bilu Al
yes it works even without registering it in the layer.xml. Should be another API probably... Le mer. 3 juin 2020 à 16:43, Emilian Bold a écrit : > So code folding works. I'm not sure which API offers integration into that > Options panel... > > --emi > > > On Wed, Jun 3, 2020 at 5:37 PM Bilu Al

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
So code folding works. I'm not sure which API offers integration into that Options panel... --emi On Wed, Jun 3, 2020 at 5:37 PM Bilu Al wrote: > hum, i am not sure. I was hoping it would work like the CodeTemplates. > > Its works fine in the Editor, i would like to be able to enable/disable i

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Bilu Al
hum, i am not sure. I was hoping it would work like the CodeTemplates. Its works fine in the Editor, i would like to be able to enable/disable it in the Editor Options for that specific language Le mer. 3 juin 2020 à 13:07, Emilian Bold a écrit : > Hm, I never knew code folding is supposed to a

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Emilian Bold
Hm, I never knew code folding is supposed to auto-register in that setting panel. Are you sure? Do you not see code folding in the editor? --emi On Wed, Jun 3, 2020 at 12:37 PM Bilu Al wrote: > Its not working: > [image: 25.png] > > but for CodeTemplate works fine my custom language is displa

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-03 Thread Bilu Al
Its not working: [image: 25.png] but for CodeTemplate works fine my custom language is displayed: [image: 22.png] is there anything wrong in my layer.xml ? Le mer. 3 juin 2020 à 08:01, Emilian Bold a écrit : > Looks good to me: > > > Register FoldManagerFactory into xml layer into the directo

Re: Layer.xml: How to Register new Language in Editor option language context tab

2020-06-02 Thread Emilian Bold
Looks good to me: > Register FoldManagerFactory into xml layer into the directory > "Editors//FoldManager/" --emi On Wed, Jun 3, 2020 at 1:42 AM Bilu Al wrote: > > Hello, > > Is it possible to register custom language to the language context tab in > editor options for: Folding, Formating, Hi

Layer.xml: How to Register new Language in Editor option language context tab

2020-06-02 Thread Bilu Al
Hello, Is it possible to register custom language to the language context tab in editor options for: Folding, Formating, Hints etc... This works fine for CodeTemplates in layer file :