FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Introducing FiveTech's fivedit
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Introducing FiveTech's fivedit
Posted: Sat Jan 24, 2015 10:41 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Sun Jan 25, 2015 09:12 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 38
Joined: Tue Mar 04, 2008 03:44 PM
Re: Introducing FiveTech's fivedit
Posted: Sun Jan 25, 2015 02:56 PM

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 )

Regards,

Moon

FWH 16.11 | xHarbour | Harbour | BCC72 | DBF | ADS | MySQL | DrLib
Posts: 159
Joined: Wed Mar 28, 2007 01:19 PM
Re: Introducing FiveTech's fivedit
Posted: Sun Jan 25, 2015 03:22 PM

Hi Mon,
Delete fivedit.ini in the folder and start fivedit.exe again.
HTH & Regards, Euclides

Posts: 38
Joined: Tue Mar 04, 2008 03:44 PM
Re: Introducing FiveTech's fivedit
Posted: Mon Jan 26, 2015 12:24 AM

Hi Euclides,
Thank you very much.

Regards,

Moon

FWH 16.11 | xHarbour | Harbour | BCC72 | DBF | ADS | MySQL | DrLib
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 07:35 AM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 08:14 AM

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()

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 08:15 AM
New version that respect the panels settings for next session:

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

Antonio Linares
www.fivetechsoft.com
Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 11:24 AM

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

Posts: 310
Joined: Mon Oct 10, 2005 05:10 AM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 11:30 AM
Hi Antonio

My last message - my code examples were re formatted.
Code (fw): Select all Collapse
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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 03:54 PM

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.

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 04:54 PM
A new Fivedit version that supports both Harbour and xHarbour :-)

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

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 05:02 PM

Colin, James,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 06:53 PM
Antonio,

A new Fivedit version that supports both Harbour and xHarbour


Would you explain what that means?
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Introducing FiveTech's fivedit
Posted: Tue Jan 27, 2015 09:41 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com