IUP_FB_EDITOR (simple development environment)

User projects written in or related to FreeBASIC.
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 03, 2020 14:02

Hi dodicat!

dodicat wrote:Quick runs I use mostly, I see that your build options do not apply to quick run.


In IUP_FB_EDITOR have a QUICK RUN , but it's not custom , just a quick run :)

dodicat wrote:Also, but not too important really, if I run this code in fbide:

Code: Select all

#lang "qb"
#include "fbgfx.bi"
 

The file fbgfx.bi file springs up in a new window.
Other ides I have tested do not bring up an offending include file.


In IUP_FB_EDITOR also there is a option , is invoked via CTRL+LEFT CLICK MOUSE (if you set the path to the INCLUDE directory in the settings)

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

@ALL

Editor update. Was a mistake on Linux when instead of a file drag-drop folder in the editor. So much time to write in the editor , only now this error came out ...
nov79
Posts: 47
Joined: Feb 23, 2020 15:31

Re: IUP_FB_EDITOR (simple development environment)

Postby nov79 » Mar 03, 2020 15:05

Updated to your new version.
Kuan Hsu
Posts: 470
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Postby Kuan Hsu » Mar 03, 2020 15:27

VANYA wrote:
c-sanchez wrote:Nice editor, just make smaller the tabs height please


This size in height is obtained due to the "close" buttons. These buttons I consider myself handy , so I put up with appearance.

Try using:

Code: Select all

IupSetAttribute( tabs, "TABSPADDING", "x2" )

to adjust the tabs title size. (Default size is "10x10" )
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 03, 2020 15:55

Kuan Hsu wrote:Try using:

Code: Select all

IupSetAttribute( tabs, "TABSPADDING", "x2" )

to adjust the tabs title size. (Default size is "10x10" )


Yes, it works. I read the documentation when I was looking for how to do it, but I failed to understand. Thank you very much! By the way do you know if there's a built-in ability of the TABS to perform the operation DRAG-DROP ?
nov79
Posts: 47
Joined: Feb 23, 2020 15:31

Re: IUP_FB_EDITOR (simple development environment)

Postby nov79 » Mar 03, 2020 17:04

I just notice I don't have to run sudo ldconfig /usr/lib64 each time I start fbnp anymore.
Kuan Hsu
Posts: 470
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Postby Kuan Hsu » Mar 03, 2020 17:11

VANYA wrote:By the way do you know if there's a built-in ability of the TABS to perform the operation DRAG-DROP ?

IupFlatTabs not support D&D, but we can do it by other ways.
Like I did in poseidonFB, I used a IupZBox container which include an empty IupLabel(support DRAPFILES_CB) and IupFlatTabs, when the program lanched, it showed the empty IupLabel, we can D&D a file to empty IupLabel then create an IupScintilla object in IupFlatTabs and switch the IupZbox to show the tab, the IupScintilla also support DRAGFLES, if we D&D a file into an existed IupScintilla, create a new IupScintilla in tabs and change the focus.

You can check the source code of poseidonFB^^
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 03, 2020 19:11

Kuan Hsu wrote:
VANYA wrote:By the way do you know if there's a built-in ability of the TABS to perform the operation DRAG-DROP ?

IupFlatTabs not support D&D, but we can do it by other ways.
Like I did in poseidonFB, I used a IupZBox container which include an empty IupLabel(support DRAPFILES_CB) and IupFlatTabs, when the program lanched, it showed the empty IupLabel, we can D&D a file to empty IupLabel then create an IupScintilla object in IupFlatTabs and switch the IupZbox to show the tab, the IupScintilla also support DRAGFLES, if we D&D a file into an existed IupScintilla, create a new IupScintilla in tabs and change the focus.

You can check the source code of poseidonFB^^


Thanks for the clarification!
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 11, 2020 6:22

Hi ALL!

Update Editor.

ADDED:

1) move tabs (thanks WQ for code)
2) now the parser supports a block OPERATOR-END OPERATOR . The implementation of the parser is complete , now only bug fixes (if you will).
3) in the preview window (side window) added the ability to output: UNIONS, OPERATORS, PROPERTIES

FIXED:

1) Size of tabs is reduced in height (thanks for the tip Kuan Hsu )
2) Slight code improvements and minor bug fixes
nov79
Posts: 47
Joined: Feb 23, 2020 15:31

Re: IUP_FB_EDITOR (simple development environment)

Postby nov79 » Mar 14, 2020 11:11

VANYA wrote:Hi ALL!

Update Editor.

ADDED:

1) move tabs (thanks WQ for code)
2) now the parser supports a block OPERATOR-END OPERATOR . The implementation of the parser is complete , now only bug fixes (if you will).
3) in the preview window (side window) added the ability to output: UNIONS, OPERATORS, PROPERTIES

FIXED:

1) Size of tabs is reduced in height (thanks for the tip Kuan Hsu )
2) Slight code improvements and minor bug fixes

Updated to the latest version. Anyway, how to change the theme (text background, color scheme...)? It's always black. I want to be able to select between dark and light theme. Thanks.
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 14, 2020 12:40

nov79 wrote:Updated to the latest version. Anyway, how to change the theme (text background, color scheme...)? It's always black. I want to be able to select between dark and light theme. Thanks.


video: https://yadi.sk/i/zqcUtOCe9mNB4w
D.J.Peters
Posts: 8161
Joined: May 28, 2005 3:28
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby D.J.Peters » Mar 14, 2020 18:16

good job so far

joshy
nov79
Posts: 47
Joined: Feb 23, 2020 15:31

Re: IUP_FB_EDITOR (simple development environment)

Postby nov79 » Mar 15, 2020 11:58

VANYA wrote:
nov79 wrote:Updated to the latest version. Anyway, how to change the theme (text background, color scheme...)? It's always black. I want to be able to select between dark and light theme. Thanks.


video: https://yadi.sk/i/zqcUtOCe9mNB4w

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

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Mar 22, 2020 10:44

D.J.Peters wrote:good job so far


Thank you for your kind words.

---------------------------------------
Again update:

1) Added the ability to return to the previous place, after moving to the place of declaring a variable using the CTRL+SHIFT+F2 key combination

2) Added the ability to display information about the block (function, constructor, property, ...) in which the cursor is currently located on the F6 key. This is especially true in volumetric functions. It looks something like this:
Image

3) Rewritten encoding algorithm. Earlier, the editor tried by all possible means ICONV to load the text in the specified encoding, regardless of errors, etc. Now, if it is impossible to load in the specified encoding, the editor will ask "There is no way to convert to the specified encoding. The editor may try to convert to 1 out of 120 possible encodings. To begin?" . As a result, it will take turns trying to convert the text using all possible encodings. Also, in the "FILE" menu and in the "SETTINGS" menu, a total of 4 menu items related to the encoding are added

4) The parser can now also read links of the form: DIM BYREF aaaaa AS LONG (alas, I forgot about them when I wrote the parser).
VANYA
Posts: 1372
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby VANYA » Apr 23, 2020 11:20

Hi all!

Updated the editor. Errors fixed.
Makoto WATANABE
Posts: 192
Joined: Apr 10, 2010 11:41
Location: Japan
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Postby Makoto WATANABE » May 06, 2020 5:49

Dear VANYA;

I found that your IUP_FB_EDITOR has improved a lot.
I was very impressed that the Japanese Lang file was being modified accordingly.
I updated it with minor modifications.
http://makoto-watanabe.main.jp/zJP.cfg

Thank you for your continued support.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 5 guests