GLBasic forum

Feature request => IDE/Syntax => Topic started by: WPShadow on 2009-Jul-27

Title: STRG + E - Erweiterung
Post by: WPShadow on 2009-Jul-27
Hi!

Das mit den Klammern und STRG + E finde ich super!

Kann man das vielleicht erweitern, da? es auch IF anzeigt? Also IF und das dazu geh?rige ENDIF?

Bei gro?en Strukturen w?rde es das auf jeden Fall geh?rig erleichtern!

Zumindest ich verliere da oft und seeeeeehr gerne die ?bersicht!

Gru?

W.
Title: Re: STRG + E - Erweiterung
Post by: Schranz0r on 2009-Jul-28
Muss ich das jetzt verstehen?
Was macht der bitte auf STRG + E ?
Title: Re: STRG + E - Erweiterung
Post by: Moru on 2009-Jul-28
From the v7 beta logfile:

// 7.057
   // Editor:
   //   Icons in version 7 adjusted.
   //   Ctrl+E to find the corresponding brackets.
   //   Macros implemented (Menu: Tools/Marcos)
Title: Re: STRG + E - Erweiterung
Post by: Schranz0r on 2009-Jul-28
Ahhh... i dont read it :P
Title: Re: STRG + E - Erweiterung
Post by: WPShadow on 2009-Jul-28
Achja, f?r FOR/NEXT bzw. FOREACH/NEXT w?re es an sich auch praktisch, da man ja mehrere Schleifen in einander verschachtelt!
Title: Re: STRG + E - Erweiterung
Post by: Moru on 2009-Jul-28
I'm working on something for this, I just need access to current file in the editor macros.
Title: Re: STRG + E - Erweiterung
Post by: WPShadow on 2009-Jul-29
Sounds great!  :good:
Title: Re: STRG + E - Erweiterung
Post by: Kitty Hello on 2009-Jul-29
Moru - DL the current beta, it has %GLB_FILE_NAME% or something like that now.
Title: Re: STRG + E - Erweiterung
Post by: Moru on 2009-Jul-29
Great, thanks!

Edit: Hmm, can't find any newer version and %GLB_FILE_NAME% doesn't work in 7.061
Title: Re: STRG + E - Erweiterung
Post by: Kitty Hello on 2009-Jul-29
Try
%GLB_GBAS_PATH%=C:\Users\gf\Documents\SourceCode\frisch\fun\GLBasic\log.gbas

Title: Re: STRG + E - Erweiterung
Post by: Moru on 2009-Jul-30
Yes that works, great! How can I open a file in the editor again? Just calling GLBasic with the path will open a new editor on my computer, is there a way of opening it in the same editor?
Title: Re: STRG + E - Erweiterung
Post by: Kitty Hello on 2009-Jul-30
hm. You might want to send a DDE message, but I have no clue how to do that  :|
Title: Re: STRG + E - Erweiterung
Post by: Schranz0r on 2009-Jul-30
i think it doesn't work :)
Title: Re: STRG + E - Erweiterung
Post by: Kitty Hello on 2009-Jul-30
I *think* MFC applications do automatically. Test it, I have no idea.
Title: Re: STRG + E - Erweiterung
Post by: Moru on 2009-Jul-30
Aw, this was so much easier on Atari...
Title: Re: STRG + E - Erweiterung
Post by: WPShadow on 2009-Jul-30
We thought they'd never end  :'(