IUP_FB_EDITOR (simple development environment)

User projects written in or related to FreeBASIC.
Post Reply
SARG
Posts: 1888
Joined: May 27, 2005 7:15
Location: FRANCE

Re: IUP_FB_EDITOR (simple development environment)

Post by SARG »

Hi VANYA,
yes asm line folding fixed, thanks.

Found another one about ':'

Code: Select all

print "not working":'comment wrongly displayed 
print "working": 'comment correctly displayed with a space between : and '  
VANYA
Posts: 1887
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

SARG wrote: Jun 09, 2025 8:52 Hi VANYA,
yes asm line folding fixed, thanks.

Found another one about ':'

Code: Select all

print "not working":'comment wrongly displayed 
print "working": 'comment correctly displayed with a space between : and '  
I don't understand the logic of the scintilla lexer very well. Sorry SARG.
VANYA
Posts: 1887
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

@SARG

I studied the logic of scintilla lexers a bit and tried to fix this behavior. I hope it will work correctly Here is the file for Win64:

iup_scintilla.dll

If you want, you can try and test it. If it doesn't work properly, please write to me.

If everything goes well, then I'll build for other operating systems and upload the updated files.
SARG
Posts: 1888
Joined: May 27, 2005 7:15
Location: FRANCE

Re: IUP_FB_EDITOR (simple development environment)

Post by SARG »

Hi VANYA,

It's working fine. Thanks.
Imortis
Moderator
Posts: 1981
Joined: Jun 02, 2005 15:10
Location: USA
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by Imortis »

VANYA,

I know I mentioned before that I made a small change on my personal copy of the source code, but would you be willing to add it to the main project?

All I did, was add a new filter option in the File Open Dialog that matches both BAS and BI files, as I frequently like to open both at once. I made it the default filter.
D.J.Peters
Posts: 8641
Joined: May 28, 2005 3:28
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by D.J.Peters »

Thanks for all your work and fast updates but one question Isn't there a "IUP_GTK3_32_FIXED_LIBRARY.zip" ?

Joshy
VANYA
Posts: 1887
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

SARG wrote: Jun 10, 2025 9:18 Hi VANYA,

It's working fine. Thanks.
Ok
Imortis wrote: I know I mentioned before that I made a small change on my personal copy of the source code, but would you be willing to add it to the main project?

All I did, was add a new filter option in the File Open Dialog that matches both BAS and BI files, as I frequently like to open both at once. I made it the default filter.
I'm thinking of doing this in the next release of the editor. I will be posting only the corrected library in the near future.
D.J.Peters wrote:Isn't there a "IUP_GTK3_32_FIXED_LIBRARY.zip" ?
I will try to build GTK3 version for linux-x86. I hope there won't be any surprises with the build.
VANYA
Posts: 1887
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Hi all!

iup_fixed_libraries updated.

----------
upd:

So far, there are no new thoughts about the innovations in the editor. Therefore, I decided to update the editor immediately after making changes with the filter in the OpenFileDialog. Added gtk3 release for linux32.
VANYA
Posts: 1887
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

It seems that everything that needs to be done has been done. But a little time passes and some errors and so on pop up. As a result, you have to take up the source code again and fix it :)

Another update:

1) Fixed loading a file from the command line, when a name without a path (relative) is sent, the current path is added if it does not exist.
2) Changed the number of entries in RecentFind and RecentFiles to 20
3) Fixed loading the file change monitor and displaying the encoding when "Reload File"
4) Removed an extra Shell call when QuickRun
5) The ReOpenFile function now saves and restores the cursor
6) Made it impossible to load identical files into the editor
7) Fixed the file change monitor when deleting a file. When pressing No, there was a loop
8 ) Changed the MessageBox dialog on the Linux version. Now it does not rely on IUP. Rewritten in pure GTK. Reason: inconvenient return value when closing with a cross or ESC key
9) Replaced all IupAlarm , with the msdlg_dialog_message_yes_no_proc dialog. Reason: so that all Message dialogs were identical in appearance
10) In Linux, the behavior was fixed when a double or single click on the first line is performed, but at the same time the tab above the cursor was activated
11) The code for loading files from the command line was moved. Now it is executed only after the editor and its plugins are fully loaded. Previously, it was executed before entering the main event loop, before loading plugins, etc.
12) Replaced the call to the "Plugins" window with IupPopup with IupShow. For some reason, a crash randomly occurred inside IUP on Linux
13) Added invisible widgets to the "Plugins" window, so that the widgets located below are visible.
14) It seems that the problem with random resizing of dialogs on Linux has been fixed. I struggled with this problem for a long time in the source code of the editor, but no matter what I did, nothing helped, because the problem is in the IUP library. The fixed versions of the libIup.so libraries for Linux have been updated.
Kuan Hsu
Posts: 624
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Post by Kuan Hsu »

VANYA wrote: Jun 10, 2025 7:28 @SARG

I studied the logic of scintilla lexers a bit and tried to fix this behavior. I hope it will work correctly Here is the file for Win64:

iup_scintilla.dll

If you want, you can try and test it. If it doesn't work properly, please write to me.

If everything goes well, then I'll build for other operating systems and upload the updated files.
Dear VANYA:
I've modified LexBasic.cxx, it with your single line asm fold mod and fixed colon issue( my code is treated colon as EOL ) and a new mod about SCE_B_PREPROCESSOR( # )
If you're interested, please check: https://www.mediafire.com/file/c5spsxav ... c.cxx/file
Post Reply