spartacus13012 wrote:[..] I ended up making that I wanted: one which opens as ' encodes snipplets ' and which shows every ' TODO: contained in a file.

Now I would like to see the functioning of an addin which would intercept evenements keyboard and mouse in editeur of text of fbedit.A generous ame would have it deja had resoudre has this probleme.

Your approach does not work because of multiple reasons:1. there is no single edit control - a new edit control is created for each new file opened. lpHANDLES->hred is zero at plugin initialization2. the RAEdit control consists of multiple child-windows, which receive and handle most window messages. the probably most important one is RAEditChild, which contains the editor window. For some reason there are 2 such RAEditChild windows - you could look into the RAEdit source code to find out why and what it does.

You can do it like this:1. specify HOOK_CREATEEDIT to receive notifications on RAEdit control creation2. handle AIM_CREATEEDIT:2.a: Retrieve RAEditChild window handles from RAEdit window handle (passed as wParam)2.b: Subclass the child window2.c: Save the old wndProc3. Call the old wndProc in the new wndProc

I'm the one who created the tutorial at freebasic-portal.de. I found this thread because I wanted to know if there's anyone interested in it and it was mentioned. I work with FBEdit version 1.0.7.6c, which is the last one compiled at freebasic-portal.de . If there's actually a need, then I can translate the whole tutorial in an english version if there's no native english speaker who can translate it from german. I've also a couple of additions which I didn't wrote yet, mostly because I don't know if someone would read or need them (Treeview, transparent bitmaps for menu, dynamic menu bar, including a Html Help ...).

For my windows applications, i prefer the combo Freebasic + FBEdit, because the knowledge base on pure C windows programming is quite a big one, and translating C into Freebasic is not so hard. Writing in C ... urggh. Also, since v1.02/1.03 of the freebasic package, the windows headers are way improved.

stephanbrunker wrote:I'm the one who created the tutorial at freebasic-portal.de. I found this thread because I wanted to know if there's anyone interested in it and it was mentioned. I work with FBEdit version 1.0.7.6c, which is the last one compiled at freebasic-portal.de . If there's actually a need, then I can translate the whole tutorial in an english version if there's no native english speaker who can translate it from german. I've also a couple of additions which I didn't wrote yet, mostly because I don't know if someone would read or need them (Treeview, transparent bitmaps for menu, dynamic menu bar, including a Html Help ...).

For my windows applications, i prefer the combo Freebasic + FBEdit, because the knowledge base on pure C windows programming is quite a big one, and translating C into Freebasic is not so hard. Writing in C ... urggh. Also, since v1.02/1.03 of the freebasic package, the windows headers are way improved.

Hello

I do not want to get ahead for the others, I think that a tres good idea would belong. Because translation google, they know all that this gives.

Up to now I went through this tutos by taking some ideas to advance in the knowledge of BFRS. With an English version, for my part, I am really going to be able to advance, by using them entirely.

Good courage for this job.

PS if you know an automatic translator of better quality than google I take.

chung wrote:its been a while yet my fbedit dont save .undo file any more , how can i have it saved again ?

First check whether you have the "UndoSave" Addin enabled (Options -> Addins -> "UndoSave.dll" should be checked).You can check whether it was loaded by looking for the "Clear Undo buffer" entry in the edit menu. It should be there (the name may be a little different).

.undo files are only saved for Projects, as far as I remember. So if you don't use a project you won't have an .undo file.Another thing you can check is whether FbEdit has all permissions needed to create and write into the .undo file in the project directory. You could use e.g. "ProcessMonitor" to check whether FbEdit tries to create an .undo file and fails or does not even try.

hi all! i have the fbedit sources and i am trying to compile it but just getting a freebasic editor popup dialogue box with the compile command in it (with my paths to fbc.exe, the bas file, the rc file and the -x target exe path and name. come to think of it, i am trying to compile fbedit from within fbedit.

my reason for wanting to compile fbedit - i am preparing to write an application and fbedit actually has a lot of the elements i want so i thought i might pare it back to the essentials i need, so successful recompile was my first step.

i recently saw some posts in a thread about compiling the 1.0.7xx sources for windows when someone else was trying to compile it and i cant for the life of me find it. can anyone point me in the right direction ?

come to think of it, i am trying to compile fbedit from within fbedit - but the target exe is fbedit-andys.exe so shouldnt clash, unless fbedit.exe is produced in an intermediate step..... ?

I wouldn't recommend starting a project with such a big and complicated application as FBedit as basis - especially as a beginner.That's why: - large parts of FBedit are written in assembly language (i.e. most controls including the editor) and the FreeBasic code "just" puts everything together - there's nearly no documentation you've to jump between assembly and FreeBasic code to understand what code might do - the code is not structured very nicely - the code extensively uses Win32 API - the code does not use modern programming techniques like OOP, but is rather Assembly- or C-style.

They contain a "Make.bat" file, which does everything for you. Just make sure that you enter valid paths for all the needed tools in "Make.ini" before. The FreeBasic Composer, MASM and RadASM are needed. Afterwards everything you've to do is double clicking the "Make.bat" (ideally :-) if you've done everything right).

@cherry and @St_W, thanks for your replies. @cherry thanks - i knew i had seen it somewhere! :)@St_W - many thanks for the tips - i like a challenge, and i'm just starting to get my head around the messaging model of the win api, so a long learning curve for me. doing a successful compile will be a useful learning exercise in itself :)

@St_W - many thanks - the svn site is asking for uid and pw - is there a standard one or do i need to request an access uid & pw ?

St_W wrote:I wouldn't recommend starting a project with such a big and complicated application as FBedit as basis - especially as a beginner.That's why: - large parts of FBedit are written in assembly language (i.e. most controls including the editor) and the FreeBasic code "just" puts everything together - there's nearly no documentation you've to jump between assembly and FreeBasic code to understand what code might do - the code is not structured very nicely - the code extensively uses Win32 API - the code does not use modern programming techniques like OOP, but is rather Assembly- or C-style.

They contain a "Make.bat" file, which does everything for you. Just make sure that you enter valid paths for all the needed tools in "Make.ini" before. The FreeBasic Composer, MASM and RadASM are needed. Afterwards everything you've to do is double clicking the "Make.bat" (ideally :-) if you've done everything right).