stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

Just made an IDE for MQL4
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=627
Page 3 of 32
Author:  SteveHopwood [ Mon Jun 18, 2012 8:51 pm ]
Post subject:  Re: Just made an IDE for MQL4

NeoTrader wrote:If the MTcrap programmers used common sense.. ;)
Hehe. Don't be ridiculous. :lol: :lol: :lol: They do not even possess brains. :lol: :lol: :lol:
Author:  SteveHopwood [ Mon Jun 18, 2012 10:59 pm ]
Post subject:  Re: Just made an IDE for MQL4

Hi w633.

I have spent much of today using your IDE, and loving it more and more each time.

Two more requests:
  • 1) Can I have a hotkey to toggle all folded/all unfolded?
    2) I would love to be able to highlight and copy a fold so I can paste it into a different section of code or EA. For example, I was copying the pipfactor function into another ea tonight. It would be fantastic if I could simply highlight the folded
    • double PFactor(string pair)
      {
    and copy it to a new location so that all the code comes with it.
You have created your own monster here. Tell me to sod off when you cannot be bothered to incorporate my requests. Trust me, I do understand the feeling. :lol:

As a sweetner, your IDE is monumental, so far as I am concerned.

Cheers

:D
Author:  w633 [ Tue Jun 19, 2012 8:53 am ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote:Hi w633.

I have spent much of today using your IDE, and loving it more and more each time.

Two more requests:
  • 1) Can I have a hotkey to toggle all folded/all unfolded?
    2) I would love to be able to highlight and copy a fold so I can paste it into a different section of code or EA. For example, I was copying the pipfactor function into another ea tonight. It would be fantastic if I could simply highlight the folded
    • double PFactor(string pair)
      {
    and copy it to a new location so that all the code comes with it.
You have created your own monster here. Tell me to sod off when you cannot be bothered to incorporate my requests. Trust me, I do understand the feeling. :lol:

As a sweetner, your IDE is monumental, so far as I am concerned.

Cheers

:D
Only you are requesting features and I am already feeling the heat. I can't imagine what you have been gone through 8-)

Anyway, I've worked too much on it, and the latest version is on project page now. This version 1.3 marks the end of the metaeditor.

The change of this version includes:
  • Once the code is compiled, Empty4 will be notified for the change and updates itself
  • Warning message from compiler now becomes orange instead of red like error message
  • Add Astyle code beautifier integration (java style though, change it in SciTEGlobal.properties to suit your own need)
  • Add shortcut Ctrl+Alt+F to toggle all fold/unfold of blocks
  • Integrate select_block.lua so by clicking on the line number of first line of the block, the whole block is selected. Same effect will be on when you use keyboard to highlight the whole first line of block.
Steve, I think everything on your wish list has been fulfilled, if not I'll pretend I've never seen it.

Cheers!
Author:  dietcoke [ Tue Jun 19, 2012 11:02 am ]
Post subject:  Re: Just made an IDE for MQL4

w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
Author:  w633 [ Tue Jun 19, 2012 1:29 pm ]
Post subject:  Re: Just made an IDE for MQL4

dietcoke wrote:w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
looks like I forgot to enclose the batch file with a quote. you can either re-download 1.3.1 or just replace the attached "mql.properties" with the one in /langs/mql.properties

thx for pointing out the bug!
Author:  dietcoke [ Tue Jun 19, 2012 2:17 pm ]
Post subject:  Re: Just made an IDE for MQL4

w633 wrote:
dietcoke wrote:w633,

I'd like to add my thanks for your effort on this. Unfortunately, I think this might be a bug reading a path...Seen when trying to compile.


C:\Program Files\Mark\FXCM Empty4 4\other\compile.bat "C:\Program Files\Mark\FXCM Empty4 4\experts\Forex Robot-v7.10_debug.mq4"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1
looks like I forgot to enclose the batch file with a quote. you can either re-download 1.3.1 or just replace the attached "mql.properties" with the one in /langs/mql.properties

thx for pointing out the bug!

Thanks
Author:  SteveHopwood [ Tue Jun 19, 2012 2:26 pm ]
Post subject:  Re: Just made an IDE for MQL4

This will be unbelievably good once I have it running properly.

Is MSCVP100.dll a Microsoft library that I am missing?
Noname.jpg
I love the name of the file. :lol: :lol:

:D
Author:  w633 [ Tue Jun 19, 2012 3:12 pm ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote:This will be unbelievably good once I have it running properly.

Is MSCVP100.dll a Microsoft library that I am missing?
Noname.jpg
I love the name of the file. :lol: :lol:

:D
I don't have much exp writing VC programs but it seems like it is depending on a microsoft package. try installing http://www.microsoft.com/en-us/download ... px?id=8328 and see if it works.

the name is cool, actually i get that name from this forum and loved it
Author:  SteveHopwood [ Tue Jun 19, 2012 9:40 pm ]
Post subject:  Re: Just made an IDE for MQL4

Yep, downloading the C++ library did away with the error message. Thanks. Makes sense too, that Windows fails to recognise that there is a missing library that it needs and so fail to download it. After all, we cannot expect C++ for Windows to actually work when applications created by it are created using the software that should be there in the first place. Hey ho. Don't get me started about Microsoft.

Sorry to be a pain. it is only because I yearn for what you offer to work for me
These two functions are not working on my platform:
  • 1) Once the code is compiled, Empty4 will be notified for the change and updates itself
    2) Integrate select_block.lua so by clicking on the line number of first line of the block, the whole block is selected. Same effect will be on when you use keyboard to highlight the whole first line of block.
1) does not update the lot size display when I make a change in this input and recompile, so I assume there is no updating going on.
2) All I get when I highlight and copy the first line of the block is the first line of the block - makes no difference if I select the line number or the first line of the function. This is no biggy - I am just being lazy in wanting this to save time.

Cheers
Author:  w633 [ Tue Jun 19, 2012 10:46 pm ]
Post subject:  Re: Just made an IDE for MQL4

SteveHopwood wrote: ..
1) does not update the lot size display when I make a change in this input and recompile, so I assume there is no updating going on.
2) All I get when I highlight and copy the first line of the block is the first line of the block - makes no difference if I select the line number or the first line of the function. This is no biggy - I am just being lazy in wanting this to save time.
i am afraid the first issue is due to different versions of Empty4, i'll try on more terminals later tonight.

regarding to the 2nd issue it's probably due to the different user experience. currently if you select the first line and place cursor to the 2nd line, the whole block will get selected. could you please try this and see if it works:
1. place the cursor the the beginning of the 1st line (first column of the line)
2. then press CTRL+Down (the down arrow key, not page down)
the whole block should be highlighted.

another way is to do a left click on the line number of the first line, it should also select the whole block. how do you usually do to select whole line?
All times are UTC Page 3 of 32