Configuring source code editor (text editor) in IDE

Moderator: Rathinagiri

Post Reply
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Configuring source code editor (text editor) in IDE

Post by Pablo César »

Hi Claudio,

When the IDE is run for the first time after the new release of HMG, it incorrectly shows the path as shown by the captured screen:
 
Image
 
This problem has been reported in this topic and I have not gotten a response from you.

I found this HMG_GetFileAssociatedWithExtension C function in HMG core and I believe it was also used the same function in the IDE.
By the way, I liked much your function for this propose, many thanks. :)

So I've implemented this function in my new project and I have saw that returns "C:\Windows\system32\shell32.dll" when it does not have any application associated with a particular file extension.

I humbly urge you to change the function so that could it returns "" instead of "C:\Windows\system32\shell32.dll" or maybe could be handled this return from within the IDE. Doing something like this:
 

Code: Select all

If "SHELL32.DLL" $ HMG_Upper(cRet)
    cRet: = ""
Endif
 
FYG: this bad return comes from Windows7 but in XP it returns "" (empty string).

Rgds
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
srvet_claudio
Posts: 2220
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: Configuring source code editor (text editor) in IDE

Post by srvet_claudio »

Thanks for the info
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

Configuring source code editor (text editor) in IDE

Post by Pablo César »

Prego !
 
8.png
8.png (1.42 KiB) Viewed 2767 times
 
Infinito :)
 
Sorry. Not wanting to make any allusion.
I just saw this now and wished to share...
 
 
"A person with increasing knowledge and sensory education may derive infinite enjoyment..."
Not complete phrase from Ernest Hemingway
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Configuring source code editor (text editor) in IDE

Post by bpd2000 »

Thx for sharing
BPD
Convert Dream into Reality through HMG
User avatar
serge_girard
Posts: 3309
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Configuring source code editor (text editor) in IDE

Post by serge_girard »

Thx Pablo !
Serge
There's nothing you can do that can't be done...
Post Reply