wxFBE, editor for both Windows and Linux

User projects written in or related to FreeBASIC.
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

wxFBE, editor for both Windows and Linux

Postby MOD » Aug 21, 2012 16:41

wxFBE is an FreeBASIC editor for both Windows and Linux. It is completely written in FreeBASIC and uses wx-c as a GUI.

Features:
  • FreeBASIC syntax highlighting
  • cross-platform
  • visual designer (emitting XML, wx-c, fltk-c, ...)
  • plugin system
  • multi compiler support
  • autoformat code while typing it
  • block comment and uncomment
  • indentation guides
  • multilingual
  • customisable
  • compiles and runs code from within the editor
  • tabbed
  • ...

Screenshot on Win7 (click to enhance):
Image

Here a early video of the usage on Ubuntu 12.04 VM:
Video
This video shows the designer using wx-c emitter on Windows 7:
Video
This video shows the designer using fltk emitter on Windows 7:
Video

More information and downloads:
wxFBE at FreeBASIC-Portal.de
Last edited by MOD on Dec 20, 2014 18:46, edited 9 times in total.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: wxFBE

Postby Gonzo » Aug 21, 2012 21:08

if you add a cool dark-background theme, add super-hardcore processing of entire project, and support modules i will use it :)
no need fr immediate window or anything other than build options, good colors and good ctrl+space help
if i press f2 (or some other key) i ___must___ go to that variable declaration or function.. it doesnt always work properly in fbedit :)
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE

Postby MOD » Aug 23, 2012 10:35

You will find a download link to a test release in the first post.


@Gonzo:
- There're no themes and you can't change the background color so far but change some other colors
- "super-hardcore processing of entire project" !? (as for projects, they doesn't exist so far)
- "support modules" - any special support?
- ctrl-space: auto complete is planned but will take some time so it isn't implemented now
- F2: not implemented, this will have to wait, until I got a function browser. Both functions will come together as one update
VANYA
Posts: 1273
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE

Postby VANYA » Aug 23, 2012 12:49

In the image file paths and file BAS need to make support for Unicode. Otherwise, no one other than English and German speak users will not be able to use the editor.

Image
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE

Postby MOD » Aug 23, 2012 12:58

This is a general wx-c problem. I can omit it for windows but not for linux, so I didn't. Even the german language file don't uses german letters (ÄÖÜäöüß) to not run into this.

My plans are to fork wx-c on longterm, so I can fix it in future. For now, sorry, there's nothing I can make.
Roland Chastain
Posts: 851
Joined: Nov 24, 2011 19:49
Location: Dakar, Senegal
Contact:

Re: wxFBE

Postby Roland Chastain » Aug 23, 2012 13:48

Really nice !

What is "xterm" (in menu options/path) ?
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Postby MOD » Aug 23, 2012 13:53

xterm is important for linux user only. It is used when (quick)running a code.
Gonzo
Posts: 722
Joined: Dec 11, 2005 22:46

Re: wxFBE, editor for both Windows and Linux

Postby Gonzo » Aug 23, 2012 15:54

modules are compiled separately in a big project,
for example

myproject.bas includes vector.bi

vector.bi holds declarations and types for vector.bas

to compile this 2-module project:
fbc -s <gui/console> myproject.bas vector.bas

what i wrote above, its important for me that
with *pointer
.stuff shows up in the autocomplete list
end with

with *stuff->pointer
.stuff shows up

with .obj.something.else
.stuff works :)

and so on :) i know theres many ways of writing things
and there are some quirks too
like:

if put(#ff, , *var, amount) then print "couldnt write stuff"
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Postby MOD » Aug 23, 2012 16:28

So you just mean compiling more than one .bas at once. This will come with projects.

I'm not sure yet, how I will add auto complete, but it will take some time.

(Someone changed my topic :P)
VonGodric
Posts: 997
Joined: May 27, 2005 9:06
Location: London
Contact:

Re: wxFBE, editor for both Windows and Linux

Postby VonGodric » Aug 24, 2012 14:01

looks nice. Keep up the good work ! :)
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Postby MOD » Aug 29, 2012 10:10

New download available.

@Vanya: I guess I fixed the Unicode problem for Windows so far. On Linux it's still a problem, but dkl just fixed a WStr() releated bug in the runtime lib for Linux, so I can test if this will solve the problem with Linux as well.
VANYA
Posts: 1273
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE, editor for both Windows and Linux

Postby VANYA » Aug 29, 2012 11:34

MOD wrote:New download available.

@Vanya: I guess I fixed the Unicode problem for Windows so far. On Linux it's still a problem, but dkl just fixed a WStr() releated bug in the runtime lib for Linux, so I can test if this will solve the problem with Linux as well.


Thank you, but the same problems.

Image

I think for the images to the toolbar should use relative paths, or this is not possible with the library WX?
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Postby MOD » Aug 29, 2012 12:25

I could use relative paths but this would destroy the drag&drop feature where you drop a file on the wxFBE.exe and it opens the file. In this cases it will try to load all images and language files from the path of the code file instead of the exe when using relative paths.

How do you use FBEdit then? I copied a translation from Google (дедушка) and used it as folder name. FBEdit couldn't load files from this folder at all and even my try to compile this file directly in my cmd the fbc gave me an error 23: File not found.

Same for FBIDE which can't do anything with a file in a folder like this.

This will be a codepage problem I guess.
VANYA
Posts: 1273
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: wxFBE, editor for both Windows and Linux

Postby VANYA » Aug 29, 2012 13:36

MOD wrote:I could use relative paths but this would destroy the drag&drop feature where you drop a file on the wxFBE.exe and it opens the file. In this cases it will try to load all images and language files from the path of the code file instead of the exe when using relative paths.

How do you use FBEdit then? I copied a translation from Google (дедушка) and used it as folder name. FBEdit couldn't load files from this folder at all and even my try to compile this file directly in my cmd the fbc gave me an error 23: File not found.

Same for FBIDE which can't do anything with a file in a folder like this.

This will be a codepage problem I guess.



Image
MOD
Posts: 554
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Postby MOD » Aug 29, 2012 14:12

Try this code in a path with russian symbols:

Code: Select all

Print ExePath
Print WStr(ExePath)
Sleep


The first line will probably fail, but if the second line also fails to give you russians signs, then that's the problem.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 5 guests