IUP_FB_EDITOR (simple development environment)

User projects written in or related to FreeBASIC.
Post Reply
Cretin Ho
Posts: 182
Joined: Feb 04, 2021 13:01

Re: IUP_FB_EDITOR (simple development environment)

Post by Cretin Ho »

Thank you. After the change above it compiled successfully. Unfortunately I can't get IUP itself to build on FreeBSD, so I don't have the executable generated:

Code: Select all

$ gmake
rm -f ./fbnp
rm -f ../IUP_FB_EDITOR
fbc fbnp.bas
ld: cannot find -liup
ld: cannot find -lpangox-1.0
ld: cannot find -liup_scintilla
gmake: *** [makefile:9: fbnp] Error 1
From there I have to consult the FreeBSD forums. Bye.
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Editor update:

1) Added similarity projects (description on the website or in the help)
2) Redesigned search (added the ability to search in all files)
3) Added plugin "Templates"
4) Tools now support constants for path, filename, file extension (description on the website or in the help)
5) Added French localization file (Thanks to Laurent Gras)
6) Minor improvements and fixes
7) Editor's site updated (english version , russian version)
8) Help for the editor is also updated.

Huge thanks to SARG for testing, advice, and other help!
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by D.J.Peters »

Hello VANYA thank you for the update looks good so far :-)
But one question I don't see any cursor so I don't know where the current text input occurs ?

Joshy

EDIT: OK I got it was only the Visual Studio color theme !
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

But one question I don't see any cursor so I don't know where the current text input occurs ?
EDIT: OK I got it was only the Visual Studio color theme !
Hi Joshy!
Thanks for the message, in the next version I will change the cursor color for Visual Studio color theme
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Editor update:
  1. Various minor improvements and fixes
  2. Added plugin to remove spaces and tabs at the end of lines (by SARG plugin)
  3. Added the ability to specify command line parameters to run EXE
  4. Added the ability to edit entries in the TOOL settings (build, help, tools)
  5. Added new style\engine for tooltips for functions (selectable in settings). Each engine has its own advantages and disadvantages:
    1. 1 engine (new):
      tooltip on top of scintilla (probably more convenient when editing, but with a large number of function parameters, the window may appear outside the editor and the screen)
      limited visual style (hint colors)
      Image
    2. 2 engine:
      tooltip inside scintilla (when editing, it inserts a hint between the lines, which is sometimes not very convenient; with a large number of function parameters, the tooltip scrolls along with the editor's text)
      the visual style can be completely customized to your taste
      Image
BasicCoder2
Posts: 3906
Joined: Jan 01, 2009 7:03
Location: Australia

Re: IUP_FB_EDITOR (simple development environment)

Post by BasicCoder2 »

The code execution cannot proceed because MSVCR100.dll was not found.
Windows10 machine.
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

BasicCoder2 wrote:The code execution cannot proceed because MSVCR100.dll was not found.
Windows10 machine.
I already answered this question for you: viewtopic.php?p=281279#p281279
BasicCoder2
Posts: 3906
Joined: Jan 01, 2009 7:03
Location: Australia

Re: IUP_FB_EDITOR (simple development environment)

Post by BasicCoder2 »

My apologies I simply forgot I had downloaded it before even though it wasn't that long ago.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Post by Kuan Hsu »

Dear VANYA:
I've created a plugin about poseidon style outline for IUP_FB_EDITOR:
Image
The archive file at: https://www.mediafire.com/file/u6m29xzu ... in.7z/file(Sources and pre-compiled DLL)

EDIT:
V0.1: I've added a TIMER control, now the plugin can auto-update every 0.5sec
V0.2: Added opacity control; added show Parameters & Type/Parameters/Type/None control
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Hi Kuan Hsu!

Thanks a lot for the plugin!

May I ask you to supplement it?

1) saving window (poseidonOutline) settings (x, y, width, height) and loading according to these settings.
2) so that the window is only on top of the editor window (such as the template plugin). At the moment, the window is on top of all windows in the system.
3) so that the plugin also works with unsaved files (New).

In the screenshot, I can see the trackbar, but on Linux it doesn't show up. Why is it needed?

If you do not have the time or desire, then just write about it and then I myself will try to understand the code and change it.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Post by Kuan Hsu »

VANYA wrote:Hi Kuan Hsu!

Thanks a lot for the plugin!

May I ask you to supplement it?

1) saving window (poseidonOutline) settings (x, y, width, height) and loading according to these settings.
2) so that the window is only on top of the editor window (such as the template plugin). At the moment, the window is on top of all windows in the system.
3) so that the plugin also works with unsaved files (New).

In the screenshot, I can see the trackbar, but on Linux it doesn't show up. Why is it needed?

If you do not have the time or desire, then just write about it and then
I myself will try to understand the code and change it.
It's OK, I'll do it~^^
(1) I think create a file to store SCREENPOS and RASTERSIZE
(2) set ZODER and PARENTDIALOG attbibutes should be OK
(3) Modified the parser one line( comment Line 1685 in parser.bas )
I can't run IUP_FB_EDITOR on linux, the IupVal control can adjust the alpha value of dialog
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Kuan Hsu wrote:I can't run IUP_FB_EDITOR on linux, the IupVal control can adjust the alpha value of dialog
This may be because you have the IUP library for GTK3 installed on Linux. If you use this archive for gtk2 (temporarily for test), then everything should work.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Post by Kuan Hsu »

VANYA wrote:
Kuan Hsu wrote:I can't run IUP_FB_EDITOR on linux, the IupVal control can adjust the alpha value of dialog
This may be because you have the IUP library for GTK3 installed on Linux. If you use this archive for gtk2 (temporarily for test), then everything should work.
Thanks, I'll test.
Imageseem to OK...

the updated plugin already put on mediafire.
Now the plugin will create an poseidonOutline.cfg to store the parameters ( plugins/poseidonOutline.cfg ), the format is:

Code: Select all

1429,95
400x600
0 0 0
255 255 255
Line 1= SCREENPOSITION
Line 2= RASTERSIZE
Line 3= IupTree FGCOLOR
Line 4= IupTree BGCOLOR
VANYA
Posts: 1834
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: IUP_FB_EDITOR (simple development environment)

Post by VANYA »

Thanks Kuan Hsu!

Until the next release of the editor, I have temporarily placed the plugin alongside other archives at sf.net: https://sourceforge.net/projects/iupfbeditor/files/. When the next version comes out, I will put the plugin directly in the archives with the editors (precompiled for each OS version).
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: IUP_FB_EDITOR (simple development environment)

Post by Kuan Hsu »

Dear VANYA:
Why not override the Windows classic style in IUP?
Image
fbnp.rc:

Code: Select all

100 ICON "media\res.ico"
1 RT_MANIFEST "manifest.xml"
manifest.xml:

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"/>
    </dependentAssembly>
  </dependency>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level="asInvoker"
          uiAccess="false"/>
      </requestedPrivileges>
    </security>
  </trustInfo>
  <application xmlns="urn:schemas-microsoft-com:asm.v3">
    <windowsSettings>
      <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
    </windowsSettings>
  </application>
</assembly>
Post Reply