Further editor improvement:

Working on new editor enhancements?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by qdriver.

Hi to all,

further editor improvments.

1) mark several lines with the left mouse button, (like for cut an past) than right button contens menue two new points comment and uncomment. That means in every marked line one ";" will be included or excluded to comment or uncommment an hole block .

2) compare to source codes

3) navigate by double clicking on "XIncludeFile" into the included file

4) by double clicking on a variable you get a list of all points of the coding where this variable is used . Second step by clicking in this result list you navigate to this point in the coding .

Have fun by doing the codeing.

I'm to stupied to get the source of the editor running otherwise I would try it my own.

best regards

Qdriver
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

Perhaps someone can do all you wish, but until then, try these:

> [...] to comment or uncommment an hole block

To start a commented block: CompilerIf 0
To end a commented block: CompilerEndIf

> compare to source codes

At a DOS prompt: fc /n File1.pb File2.pb

> by double clicking on a variable you get a list of all points of
> the coding where this variable is used . Second step by clicking in
> this result list you navigate to this point in the coding

Press CTRL+F in the editor, type the variable name, hit Enter.
Then press F3 to keep finding. :)
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by qdriver.

Hi PB,

*******************************************
To start a commented block: CompilerIf 0
To end a commented block: CompilerEndIf
*******************************************
good idea..

But the rest doesn't work (XP) or is only a workaround. And I think there are a lot of programmer just waiting on a idea during the boring christmas time :)

Best regards qdriver
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by horst.
Originally posted by qdriver
3) navigate by double clicking on "XIncludeFile" into the included file
4) by double clicking on a variable you get a list of all points of the coding where this variable is used . Second step by clicking in this result list you navigate to this point in the coding .
Did you have a look at the add-in tools InclOpen and PXvars ?
It's not exactly what you had in mind, but maybe it helps..

http://home.mnet-online.de/horst.muc/pb/




Horst
Post Reply