I'm testing...c-sanchez wrote:Hi @Kuan, here other feature request if not much problem.
Make the Search and Search/Replace windows modeless
Example of how can look
Search Dialog Modeless
Replace Dialog Modeless
Done at rev.378
I'm testing...c-sanchez wrote:Hi @Kuan, here other feature request if not much problem.
Make the Search and Search/Replace windows modeless
Example of how can look
Search Dialog Modeless
Replace Dialog Modeless
Code: Select all
[buildtools]=
compilerpath=d:\FreeBASIC\fbc32.exe
x64compilerpath=d:\FreeBASIC\fbc64.exe
debuggerpath=D:\FreeBASIC\bin\win32\gdb.exe
x64debuggerpath=D:\FreeBASIC\bin\win64\gdb.exe
(1) Modified at rev.378sancho3 wrote:Hi Kuan:
This is half wish list and half the way others do it.
Regarding AutoComplete. It should overwrite everything until the next non-identifier character.
Ex. if I mistakenly type 'private' and back the cursor up to 'pri', and press ctrl-q (to activate auto-complete) and then press tab to select 'print' from the list, it should overwrite 'vate'. Instead it inserts so you are left with 'Printvate' which you then have to correct.
Keep in mind that a '.' is a non identifier character,
Regarding Takases IDE closing problem. I have that problem when an included library is missing a file it includes. I would guess that Poseiden is looking to fill its auto-complete and parse list and crashes when it can't complete a certain included type.
I see it with FLTK. I have a broken/incomplete installation and if I use '#include once "fltk-c.bi"' in a code file, as soon as I type a couple of letters on the next line, Poseiden crashes right out.
This might be quite difficult to diagnose if you don't have any broken library files. I still have that issue with FLTK so if you would like me to run some tests let me know.
(1) I still don't know there are different x32/x64 version GDB or not? The x64 freeBASIC zip didn't include gdb.exe, so I disabled the x64debuggerpath settingD.J.Peters wrote:Looks like the x64debuggerpath is missing ?What is the difference between CompilerArgs= and CompilerOption= ?Code: Select all
[buildtools]= compilerpath=d:\FreeBASIC\fbc32.exe x64compilerpath=d:\FreeBASIC\fbc64.exe debuggerpath=D:\FreeBASIC\bin\win32\gdb.exe x64debuggerpath=D:\FreeBASIC\bin\win64\gdb.exe
Joshy
Code: Select all
'*mypointer 'not comment color
''mypointer 'comment color
The issue ia about scintilla( LexBASIC.cxx Line.495~496 ), I need modify and re-buiit it ~~sancho3 wrote:I will do those tests as soon as I can. Probably Monday/Tuesday.
I found another issue.
The comment character doesn't color the line if it beside the * dereference operator.
For exampleCode: Select all
'*mypointer 'not comment color ''mypointer 'comment color
It's because all your includes are to huge( I think your code is include "windows.bi"......etc ), there are some ways to improve the effectiveness:kcvinu wrote:@Kuan Hsu,
I feel a delay when i type something on Poseidon. Letters are appearing after a small delay. What would be the reason ?
And Is there any chance to add an option for detach the ouput window from main window like visual studio ?
It's OK about Scintilla, but......kcvinu wrote:Thank you for the reply.
But i need auto complete. It helps me to make sure i am typing correct name or variable. So I dont want to turn it off.
And i also dont want to use Poseidon like a normal notpad. I wish to use it as an IDE. I need intellisence to show the methods and properties. If we encounter typing delay when turned on parse, then it seems something wrong happening in Scite . Am i right ?
Code: Select all
2018/3/25 16:52:36 Load Project: [K:/CodingPark/MyCode/FB/test]
2018/3/25 16:52:36 Done.
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/windows.bi]
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/crt/stdarg.bi]
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/windef.bi]
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/_mingw.bi]
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winapifamily.bi]
2018/3/25 16:52:37 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/basetsd.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winnt.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winbase.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/_mingw_unicode.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/intrin.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/apiset.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winerror.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/wingdi.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winuser.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/guiddef.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winnls.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/wincon.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winver.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winreg.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/reason.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winnetwk.bi]
2018/3/25 16:52:38 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/virtdisk.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/cderr.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/dde.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/ddeml.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/dlgs.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/lzexpand.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/mmsystem.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/nb30.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpc.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpcdce.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpcnsi.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpcnterr.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpcasync.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/shellapi.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winperf.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winsock2.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/crt/sys/time.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/_bsd_types.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/inaddr.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/ws2def.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/qos.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/wtypesbase.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/wincrypt.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/bcrypt.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/ncrypt.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winefs.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winscard.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/wtypes.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winioctl.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winsmcrd.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winspool.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/prsht.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/ole2.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/objbase.bi]
2018/3/25 16:52:39 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/oleauto.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/oleidl.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/commdlg.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/rpcndr.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/unknwnbase.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/objidlbase.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/winsvc.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/mcx.bi]
2018/3/25 16:52:40 Pre-Parse file: [K:/CodingPark/FreeBASIC-1.05.0-win32/inc/win/imm.bi]
I don't know how your current implementation looks like, but for the search a tree data structure like https://en.wikipedia.org/wiki/Generalized_suffix_tree or https://en.wikipedia.org/wiki/Ternary_search_tree may help to improve lookup speed.Kuan Hsu wrote:Create a new file with #include "windows.bi", poseidonFB will pre-load and parse 64 files (*.bi) while "Include Level"=2, then every type will search 68,222 Parsed nodes to check if matchs or not......
I've no idea how to increase the speed......
Cool! That was quick.I'm testing...
Done at rev.378