Page 2 of 2
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 1:49 pm
by willzz32
Hi Nubeat7
Here is a simple schematic which shows the issue i could do with getting around. Made in FS 3.02 as 3.03 has big cpu issues for me.
Many Thanks
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 2:14 pm
by Nubeat7
hmm from where you have the text inside the box?
when i write a new text in the editbox it is working fine..
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 2:31 pm
by willzz32
Hi
It all works fine until you save the text and reload it and then try to edit it. When you edit the loaded text it all jumps on to one line but only when editing. Once you have edited it reverts to how it was.
Is it the same your end?
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 2:46 pm
by Nubeat7
hmm thats interesting, when saving the program carrige returns are deleted from the textfile but not when saved in presetmanager, why it is like this? i don`t know, maybe it is a bug? so the ruby code joins just at the endof the file.... you tried testers version think it should work...
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 2:52 pm
by willzz32
Hi Nubeat7
Thanks for the help and looking in to it ,I'll relook at testers now .
As i didn't work with the string side that much it was a bit daunting but i' work through it .
Can i ask if your are using FS3.03 or have any issues regarding the cpu usage. Seems any schematic i export from 3.03 uses 25% cpu even if its only a single button. I'm exporting exe files and not VST'S. Just be interesting to find out if any one else is having the same. Support are aware of it but i have not heard much back as of yet.
Cheers
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 3:03 pm
by Nubeat7
yes i`m working on fs 3.03 but no cpu issues. but i`m only exporting vsts...
i tried testers version and it works...
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 3:11 pm
by tester
Guys - don't scare me with CPU issues in 3.03 version...

I started to update my projects in FS3.03, which I export as both - exe and VST. What CPU issues? Only ruby related or something else?
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 3:23 pm
by willzz32
It may be only me but i have had nothing but woes regarding the cpu issues on 3.03.
I'm running win7 64bit i5 750 and any exe file from FS gives 25% cpu ,even when its not doing anything.
I tried 3.02 and its better , I also tried installing 3.03 and 3.02 in different folders which cures the cpu issue but as i found the fs 3.03 then uses the ruby from 3.02 , pops up errors when trying to load the exe.
I have no experience of ruby but from what i can see this seems to be the problem for me in 3.03.
As i say it may only be my machine but bit of a shame as i would like to start test the dmx module but worries me with this cpu usage.
Ps . Thanks for the help nubeat7 much appreciated .
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 3:24 pm
by Nubeat7
Nubeat7 wrote:hmm thats interesting, when saving the program carrige returns are deleted from the textfile but not when saved in presetmanager, why it is like this? i don`t know, ...
ok after a short research, it looks like that when you open a textfile per default \r\n is converted to \n, so in the old version the \r was still in the textfile and after loading it was deleted , which did the troubles...
i changed the code a bit and now also the ruby version should work correct
Re: Edit Box(multiline) and preset string
Posted: Mon Aug 12, 2013 3:52 pm
by willzz32
Nubeat7
Thanks Fantastic!!! Works like a treat. Thanks to you and tester!!!