WinFBE v1.2.5 Preview (March 5, 2017)

Started by Paul Squires, March 05, 2017, 06:57:41 PM

Previous topic - Next topic

Paul Squires

I just uploaded the most up to date files to GitHub. To try these files simply download them by clicking on the green button called "Clone or Download". Then select "Download ZIP".

Too many changes to document. Multiple projects can now be opened at once within the editor. New Find/Replace functionality. Please let me know if you notice any major problems like crashing/GPF's.

https://github.com/PaulSquires/WinFBE

Paul Squires
PlanetSquires Software

José Roca

The explorer window needs a little more height for the "EXPLORER" caption.

José Roca

#2
After loading a second project, it doesn't allow me to change FBC 32 bit to 64 bit and CONSOLE to GUI by clicking the status bar. I can only change these settings for the first project loaded.

José Roca

Problem with the icons in Find/Replace, at least at 192 dpi.

José Roca

If I load a simple file, the status bar doesn't display the settings of the compiler and the gui/console. It also doesn't let me to change them using the menu or the keyboard shortcuts.

Paul Squires

Thanks Jose, I will fix those problems ASAP. I know about the icon issue at high DPI. I need to create additional icon sizes or use PNG. I wanted to gt the basic Find/Replace working before trying my hand at graphics  :)
Paul Squires
PlanetSquires Software

Paul Squires

Hi Jose, I have uploaded new code with fixes for what you have reported. Still need to create icons or png for higher DPI's.

Paul Squires
PlanetSquires Software

José Roca

I like the idea for the new Find/Replace.

José Roca

I have noticed that the font used in the find/replace dialog is a point bigger than for the other UI elements. Is it intentional?

Dim As HFONT hFont = pWindow->CreateFont("Segoe UI", 10)


José Roca

#9
There is something wrong with the margins. If I uncheck the option to show the left margin and check the option to show the fold margin, when I restart the editor it doesn't display the fold symbols.

Tasos Georgas

It crashes if you try to compile a just opened project without any active tab. See photo.

Paul Squires

Quote from: Jose Roca on March 06, 2017, 12:13:48 AM
I have noticed that the font used in the find/replace dialog is a point bigger than for the other UI elements. Is it intentional?

Dim As HFONT hFont = pWindow->CreateFont("Segoe UI", 10)


I can't think of a reason other than maybe I thought a larger font would "fit" better in the textbox. What I would like is to have the text in the Find and Replace textboxes to be centered vertically within the textbox. I think I have code that does that but I need to see if it actually works and how complicated it would be to implement.
Paul Squires
PlanetSquires Software

Paul Squires

#12
Quote from: Tasos Georgas on March 06, 2017, 04:14:44 AM
It crashes if you try to compile a just opened project without any active tab. See photo.
Thanks Tasos, you're right indeed it does appear to GPF. I'll fix that.

EDIT: I have fixed this. Changes will be uploaded to GitHub later this evening. In modCompile.inc there were two lines that had incorrect logic for testing the value of pDoc:

Line: 318
if pDoc = 0 THEN SendMessage( pDoc->hWindow, SCI_SETCURSOR, SC_CURSORWAIT, 0 )
Should be:
if pDoc THEN SendMessage( pDoc->hWindow, SCI_SETCURSOR, SC_CURSORWAIT, 0 )

Line: 342
if pDoc = 0 THEN SendMessage( pDoc->hWindow, SCI_SETCURSOR, SC_CURSORNORMAL, 0 )
Should be:
if pDoc THEN SendMessage( pDoc->hWindow, SCI_SETCURSOR, SC_CURSORNORMAL, 0 )


Paul Squires
PlanetSquires Software

Paul Squires

Quote from: Jose Roca on March 06, 2017, 12:33:49 AM
There is something wrong with the margins. If I uncheck the option to show the left margin and check the option to show the fold margin, when I restart the editor it doesn't display the fold symbols.

This appears to be related the issue I wrote about in the "TOFIX.TXT" text file.

Quote
(1)
The fold margin doesn't always display the folding icons.
To replicate this issue load a large code file with many folding sections. Go to the view menu and environment options. Unselect to show left margin and close the options window. Scroll down your code and you will see that the code folding icons are missing. Select show left margin again and they will appear.

I don't think it is related to the way that I have implemented the code in clsDocument.ApplyProperties (Lines 950 to 978) but you never know. Could also be related to the way the lexer was implemented in the version of the Scintilla DLL that I am using?
Paul Squires
PlanetSquires Software

Paul Squires

Just uploaded most recent source files and exe's to GitHub repository.
As an aside, using GitHub is so incredibly easy. So happy that I decided to use it for this project.
Paul Squires
PlanetSquires Software