Page 7 of 38

Re: Introducing FiveTech's fivedit

PostPosted: Sat Jan 24, 2015 10:41 pm
by Rick Lipkin
Antonio

In the preferences I see where you can change the text and background but not the current line hi-lite bar ? It would be nice to be able to change that.

Thanks
Rick Lipkin

Re: Introducing FiveTech's fivedit

PostPosted: Sun Jan 25, 2015 9:12 am
by Antonio Linares

Re: Introducing FiveTech's fivedit

PostPosted: Sun Jan 25, 2015 2:56 pm
by dbmanfwh
Antonio,

If execute Fivedit.exe, error such as lower part occurs.

Application
===========
Path and name: C:\fivedit\fivedit.exe (32 bits)
Size: 3,395,584 bytes
Compiler version: Harbour 3.2.0dev (r1412151448)
FiveWin Version: FWH 15.01
Windows version: 6.1, Build 7601 Service Pack 1

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 01/25/15, 23:53:42
Error description: Error BASE/1099 Argument error: HB_EXECFROMARRAY
Args:
[ 1] = O TFONT
[ 2] = C NEW
[ 3] = N 1

Stack Calls
===========
Called from: => HB_EXECFROMARRAY( 0 )
Called from: .\source\classes\FONT.PRG => FONTFROMTEXT( 604 )
Called from: C:\fwteam\samples\fivedit.prg => TFIVEDIT:BUILDEDITOR( 317 )
Called from: C:\fwteam\samples\fivedit.prg => TFIVEDIT:NEW( 147 )
Called from: C:\fwteam\samples\fivedit.prg => MAIN( 12 )

Re: Introducing FiveTech's fivedit

PostPosted: Sun Jan 25, 2015 3:22 pm
by Euclides
Hi Mon,
Delete fivedit.ini in the folder and start fivedit.exe again.
HTH & Regards, Euclides

Re: Introducing FiveTech's fivedit

PostPosted: Mon Jan 26, 2015 12:24 am
by dbmanfwh
Hi Euclides,
Thank you very much.

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 7:35 am
by Colin Haig
Hi Antonio

I have checked and auto indentation does not appear to work - unless you hit tab to indent and shift tab to oudent.

Cheers

Colin

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 8:14 am
by Antonio Linares
Colin,

When you launch Fivedit you get a MsgInfo() in the default code.

Please go to the rightmost col of that line and press return, then the cursor should go to the next line just below MsgInfo()

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 8:15 am
by Antonio Linares
New version that respect the panels settings for next session:

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedit.zip

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 11:24 am
by Colin Haig
Hi Antonio

Yes that does what you say - but what I meant was when using the following code

if nNumber == 10
cursor aligns under the letter n
when you complete with endif
endif the endif is pulled back in the line with the if

The editor automatically indents and outdents - the code is formatted as you type

do while ! oData:eof()
if nNumber == 15
somefunc()
endif
oData:skip()
enddo

Cheers

Colin

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 11:30 am
by Colin Haig
Hi Antonio

My last message - my code examples were re formatted.
Code: Select all  Expand view

if nNumber == 10
   _   cursor moves in three or four spaces
   endif  starts at this position but when you hit the enter tkey he endif is re aligned under the if
 
So automatically it does this as you type and looks like this

if nNumber == 10
   somefunc()
endif

 


Hope this message does not re format.
Cheers

Colin

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 3:54 pm
by James Bott
I would like to add a vote for Colin's version of auto-indenting. This would save a lot of typing. Perhaps it should also be an option.

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 4:54 pm
by Antonio Linares
A new Fivedit version that supports both Harbour and xHarbour :-)

https://bitbucket.org/fivetech/fivewin-contributions/downloads/fivedit.zip

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 5:02 pm
by Antonio Linares
Colin, James,

ok, I see what you mean. We will have it soon :-)

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 6:53 pm
by James Bott
Antonio,

A new Fivedit version that supports both Harbour and xHarbour


Would you explain what that means?

Re: Introducing FiveTech's fivedit

PostPosted: Tue Jan 27, 2015 9:41 pm
by Antonio Linares
James,

You can choose if you want to build your app using Harbour or xHarbour.

Please go to menu View, Preferences, Harbour, Compiler. From the combobox you decide to build your app using Harbour or xHarbour.