• Welcome to Powerbasic Museum 2020-B.
 

News:

Forum in repository mode. No new members allowed.

Main Menu

Konstruct Code Editor - Freeware

Started by Daren Oliver, January 17, 2011, 11:26:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Petr Schreiber

Darren,

thanks a lot. The idea with Debug/Release switch is nice.


Petr
AMD Sempron 3400+ | 1GB RAM @ 533MHz | GeForce 6200 / GeForce 9500GT | 32bit Windows XP SP3

psch.thinbasic.com

Bob Houle

Quick question...

I've added an 'Include' file to my new project (using 'ADD File'). Konstruct places the include file AFTER the "Main.Bas" include file.

When I compile I get an error that states: Missing Declaration: sx_Version() which is in my include file.

Shouldn't the users include files be placed BEFORE the Main.Bas include, so that Main.bas knows the functions I wish to include?


see jpgs.


Thanks,
--Bob

Daren Oliver

Bob,

You can change the order of the include files by moving them in the Active Files List (Last toolbar button in the Explorer pane).

I'll change it at some point so new files are inserted before the Main.bas although PBs ability to forward reference normally takes care of most issues.

Regards,
Daren

Bob Houle

 :)

Worked like a charm and now I'm off to the races!

--Bob

Bob Houle

Daren,

I noticed that the "Text Font" selections are quite limited and not all fonts in my Windows system are available.
I'm quite partial to Verdana (TT font) which is not included but yet I can change it to: 'BatangChe' or 'SimHei'

Is it because of the lexer that you use?

Regards,
--Bob

Daren Oliver

Bob,

The available fonts are restricted to monospaced fonts only. Its not unusual for code editors to do this. Maybe some of the .NET ones allow other fonts but it sure makes column mode editing tricky.

I'll consider it for the next update.

Bob Houle

Thanks Daren,

New monitors (16:9) have tons of space off to the right of the screen so a additional fonts make more sense than they did in the past.

regards,
--Bob


Theo Gottwald

Daren, I'd prefer to sty with Monospaced Fonts, anything else will make your development go into a fals direction.
A program code Editor does formatting of codelines.
If the fonts are not monospaced and you format them, and later load them into - for example PB-Editor, it looks strange.

Don't go this way, stay monospaced. We must not have everything DOTNET has.
As i wrote in my previous posts, when advancing your Editor go direction "Teamwork/Versioning".
This is a completely open field for PB Developments.

Don't think of artistic stuff which is of no common use. People want to use Oriental Fonts should load their programs into MS Word.
And then print them.

Bob Houle

Theo,

On a previous post you asked for "VB-like" drag and drop support.. did anyone poo-poo on your idea?


I've read through a lot of your posts and you seem to have a lot of opinions and NO solutions!

--Bob

Theo Gottwald

Bob, don't take this personal, please.
I think you have never programmed an Editor or a Editor control.
Otherwise you'd know that using a "Proportional Font" at this place is like puting a knife in a bee-nest.
My suggestion is from the position of somebody who has a bit experience in that area.
I want to see the Editor from Daten to get useful features and prevent him from going into "dead end roads".
For this reason i share personal experience in that topic.

Using Proportional Fonts is the right decision for an serious  - non gaming - edit ontrol.
In my opinion. I have given some arguments, for example that any formatting will be destroyed by just changing to another font otherwise.

As said, this should not be in any way an offence against ayour opinion, Bob.
Just give your thought, explain it, bring your arguments and let Daren make a decision.

I have just tried to load a non-proportional Font into the scintilla control from SED.
It works, but it slows things down significantly and to me it just doesn't make a sense.

Did you try it yourself?
Which Font would you choose other then courier?

Daren Oliver

v1.2.0 Update added.

Quote-------------------------------------------------------------------------------
Version 1.2.0 - Feb 27 2011
-------------------------------------------------------------------------------
#Files modified from previous update:
Konstruct.exe
SciLexer.dll
Lexer.dll

---------

#Feature Added.
Modified Line Markers.
Yellow = Modified and unsaved.
Green = Modified and saved.

---------

#Feature Added.
User Tools Manager.

---------

#Feature Added.
Toolbox Pane.

---------

#Feature Added.
Programmable Middle Mouse Button.

---------

#Feature Added.
Basic ASCII Table. (Embedded in Toolbox)

---------

#Feature Added.
Code Store. (Embedded in Toolbox)
Drag selected text onto panel to add code snippet.
Shift+Left mouse click to edit item description.
Delete item by deleting description and hitting Enter.
Re-order by dragging item.

---------

#Feature Added.
Menu item. 'Append'
Performs a copy operation and appends the selected text to the Clipboard.

---------

#Feature Added.
Auto Close Compiler Log.
Closes log tab after a successful compile.

---------

#Feature Added.
Copy As BBCode.
Shift+Ctrl+C copies selected text as BBCode to the Clipboard.
(Will be reimplemented as a User Tool in a future update.)

---------

#Operational Change.
Files added to the current project are added before "Main.bas"
in the Active Files list.

---------

#Operational Change.
"Main.bas" cannot be renamed or deleted.

---------

#Bug Fix.
Brace Highlighting display color did not change in the Options Dialog.

---------

#Bug Fix.
Selected text region was incorrectly recalled due to whitespace removal
when a file is loaded.

---------

#Note.
Some menu items have been moved to more appropriate positions.
Preliminary PB10 folding and Metastatement code added.
Keywords folder structure modified to eliminate unnecessary file duplication.
Minor visual changes.

-------------------------------------------------------------------------------

José Roca

It GPFs in Windows 7 when trying to load a project or creating a new one.

Daren Oliver

Thanks José. I'll did check it on Win7 in VMWare. I'll take a look...

Daren Oliver

#28
José

I still can't get it to crash although as I said, I'm testing in a virtual machine.
Would you mind testing with the attached file when you have time?
It's the same exe but with debugging enabled.

I'll try on my Win7 laptop at work tomorrow if I don't make any progress.

Thanks.

Jim Dunn

(worked on my Windows 7 Enterprise, 32-bit)