Author Topic: [Solved] IF set workspace-file not found, a new folder is created in root  (Read 3497 times)

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
while trying Line Spacing > Exactly

i had disabled my default.hewsp .... and was wondering why HE still says it would use an default.hewsp ??!?

Today i see it ...  HE creates an new folder in the root of the drive with an default default.hewsp ;-)

« Last Edit: March 01, 2009, 01:39:31 AM by Stefan »
Stefan, HippoEDIT beta tester 
HippoEDIT - the editor programmers wants to code thyself when they are dreaming.        -Don't just edit. HippoEDIT!-

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2225
  • Karma: +37/-3
    • HippoEDIT
Re: IF set workspace-file not found, a new folder is created in root
« Reply #1 on: February 19, 2009, 05:39:17 PM »
Hi Stefan,

have not understood...

1) How you disabled default.hewsp?
2) How HE says "it would use an default.hewsp ??!?"
3) How to reproduce :)


Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 775
  • Karma: +6/-0
Re: IF set workspace-file not found, a new folder is created in root
« Reply #2 on: February 19, 2009, 06:05:52 PM »
1) How you disabled default.hewsp?
by renaming it to "--default.hewsp

2) How HE says "it would use an default.hewsp ??!?"
in menu "File > Workspace"  was still some "default.hewsp" shown in grey on first place (i take no care if there where an path too)


3) How to reproduce
a. close HE (sorry)
b. rename default.hewsp to   ----default.hewsp
c. start HE
d. take a look in "File > Workspace"
e. take a look on the root of the drive where the HE-folder is located ... there is now an new folder "Workspaces" with an fresh "default.hewsp"
The fault is for me that HE create an new folder where no one told him to do.
Instead using the info from <Workspace path=".\\workspaces\\default.hewsp"/> to create THERE an new hewsp file, if that one is missed.


Just tell me if i should do more investigations .... ;-)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2225
  • Karma: +37/-3
    • HippoEDIT
Re: IF set workspace-file not found, a new folder is created in root
« Reply #3 on: February 19, 2009, 06:45:31 PM »
Ok. Clear now.
I think I have this fixed (would be in new beta), but logic for resolving all these combinations of relative pathes and aliases become a too complex.. :)

Thanks a lot for help.