Set to default is easy to do, I've re-updated the rev.403 ^^Dinosaur wrote:Hi All
Kuan Hsu can you make the "Search/Replace" default to ignore case OR save the last setting.
As FB is generally case insensitive, should it not default to that ?
Regards
FreeBasic IDE-poseidonFB(Update 2024.03.03)
Re: FreeBasic IDE-poseidonFB(Update 2018.08.10)
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
At rev.404, I added "EXTRAASCENT" and "EXTRADESCENT" at "[size]" in editorSettings.ini
(See https://www.scintilla.org/ScintillaDoc. ... XTRAASCENT )
Default:
Set the editorSettings.ini:
(See https://www.scintilla.org/ScintillaDoc. ... XTRAASCENT )
Default:
Set the editorSettings.ini:
Code: Select all
[size]
EXTRAASCENT=-1
EXTRADESCENT=-2
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
@Kuan Hsu,
I have started learning D. Its a nice language.
I have started learning D. Its a nice language.
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
HI Kuan:
1. I noticed an issue with the IDE.
Selecting a block of code and then selecting CTRL + SHIFT + R (to un-comment the code) only un-comments code that has a comment character in the first column.
The code should un-comment any line that begins with the comment character in any column.
2. I think the search and replace is in dire need of upgrading. Right now I am reluctant to use it for anything but a search and replace of the entire file. It lacks information of what the selections do. For example the tool tip says "Scope" but I have no idea what scope when selected and what when not.
There is also no feedback as to whether anything was changed.
I also think it deserves its own window.
I recommend that you look at any text editor search and replace and shoot for that.
Here is a pic of the search window from Geany.
I don't think you need to go so far as to include reg. expressions or any other large coding task.
Basically what you have just reorganized a little.
3. Adding a new include file to a project forces you to use the .bi extension. That is not ideal. It would be better to allow .bas as well.
4. I wanted to add a text file to the project but I couldn't find a way. Is that possible? Not a big deal in any case.
1. I noticed an issue with the IDE.
Selecting a block of code and then selecting CTRL + SHIFT + R (to un-comment the code) only un-comments code that has a comment character in the first column.
The code should un-comment any line that begins with the comment character in any column.
2. I think the search and replace is in dire need of upgrading. Right now I am reluctant to use it for anything but a search and replace of the entire file. It lacks information of what the selections do. For example the tool tip says "Scope" but I have no idea what scope when selected and what when not.
There is also no feedback as to whether anything was changed.
I also think it deserves its own window.
I recommend that you look at any text editor search and replace and shoot for that.
Here is a pic of the search window from Geany.
I don't think you need to go so far as to include reg. expressions or any other large coding task.
Basically what you have just reorganized a little.
3. Adding a new include file to a project forces you to use the .bi extension. That is not ideal. It would be better to allow .bas as well.
4. I wanted to add a text file to the project but I couldn't find a way. Is that possible? Not a big deal in any case.
-
- Posts: 6
- Joined: Nov 22, 2017 23:13
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
I'm running on Ubuntu 18.04 Bionic x64, and I'm have trouble installing the Manual (.chm file). I have pointed it to the correct file, but it doesn't find it. It doesn't seem to "accept" my clicking "Apply" and/or "Ok." Same is true of changing the syntax highlighting scheme. It does work for everything else, however. It's a wonderful choice for we Linux users. :) For that part, I manually copied the Monokai RGB values by hand from the XML file. Hehe. Can't figure out how to get the help files working, and that's a super useful feature (pressing F1) for a novice like me!
I installed as per your instructions (and manual), including the modified IUP .so. Any help you could offer would be greatly appreciated, thank you!
I installed as per your instructions (and manual), including the modified IUP .so. Any help you could offer would be greatly appreciated, thank you!
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
I am using Ubuntu 64 as well and the manual is working using F1.
What happens when you select the chm file? Does it not show the full path in the preference window?
Did you select "use help manual"? (I'm sure you did).
You can try entering the entire path.
Maybe you have re-assigned key F1. Check your shortcuts.
What happens when you select the chm file? Does it not show the full path in the preference window?
Did you select "use help manual"? (I'm sure you did).
You can try entering the entire path.
Maybe you have re-assigned key F1. Check your shortcuts.
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
Please install "kchmviewer"...^^Gloomshroud wrote:I'm running on Ubuntu 18.04 Bionic x64, and I'm have trouble installing the Manual (.chm file). I have pointed it to the correct file, but it doesn't find it. It doesn't seem to "accept" my clicking "Apply" and/or "Ok." Same is true of changing the syntax highlighting scheme. It does work for everything else, however. It's a wonderful choice for we Linux users. :) For that part, I manually copied the Monokai RGB values by hand from the XML file. Hehe. Can't figure out how to get the help files working, and that's a super useful feature (pressing F1) for a novice like me!
I installed as per your instructions (and manual), including the modified IUP .so. Any help you could offer would be greatly appreciated, thank you!
Re: FreeBasic IDE-poseidonFB(Update 2018.08.21)
^^..., Let me check~~sancho3 wrote:HI Kuan:
1. I noticed an issue with the IDE.
Selecting a block of code and then selecting CTRL + SHIFT + R (to un-comment the code) only un-comments code that has a comment character in the first column.
The code should un-comment any line that begins with the comment character in any column.
The 'Scope' only works for "Replace All" or "Mark All"sancho3 wrote:2. I think the search and replace is in dire need of upgrading. Right now I am reluctant to use it for anything but a search and replace of the entire file. It lacks information of what the selections do. For example the tool tip says "Scope" but I have no idea what scope when selected and what when not.
There is also no feedback as to whether anything was changed.
I also think it deserves its own window.
I recommend that you look at any text editor search and replace and shoot for that.
Here is a pic of the search window from Geany.
I don't think you need to go so far as to include reg. expressions or any other large coding task.
Basically what you have just reorganized a little.
PoseidonFB will send *.bas to compile list, if just "Include", why not named the ext is bi?sancho3 wrote:3. Adding a new include file to a project forces you to use the .bi extension. That is not ideal. It would be better to allow .bas as well.
sancho3 wrote:4. I wanted to add a text file to the project but I couldn't find a way. Is that possible? Not a big deal in any case.
By now, we can add files in "Others" but will pass to FB compiler while building project, in oldest poseidon, we have a another part to save the files that we are not want pass to compiler, let me check....
I added "Miscellaneous" project tree panel at rev.405, the files in "Miscellaneous" will not send to compiler and can be open in poseidonFB.
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
may be simple to fix:
Menu project save all closed all loaded projects here !
It crashed from time to time if I open a file from left project panel while other open files are exists in the tab's.
The problem are I can not reproduce this crashes.
First I was thinking it happens only if I have 300 or more files open but it crashed with only 9 open files also.
And it crashed without any user action also !!!
I came back from the kitchen and a open poseidonFB session was anymore on screen.
Joshy
Menu project save all closed all loaded projects here !
It crashed from time to time if I open a file from left project panel while other open files are exists in the tab's.
The problem are I can not reproduce this crashes.
First I was thinking it happens only if I have 300 or more files open but it crashed with only 9 open files also.
And it crashed without any user action also !!!
I came back from the kitchen and a open poseidonFB session was anymore on screen.
Joshy
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
Kuan Hsu
Maybe add to the editor default input language setting when program starts - English (at least Windows, WinApi function LoadKeyboardLayout, ActivateKeyboardLayout etc.)?
This is important if the system language is not English.
Start to write code - input is not English...
Maybe add to the editor default input language setting when program starts - English (at least Windows, WinApi function LoadKeyboardLayout, ActivateKeyboardLayout etc.)?
This is important if the system language is not English.
Start to write code - input is not English...
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
Actually, It's hard to find the bug.....D.J.Peters wrote:may be simple to fix:
Menu project save all closed all loaded projects here !
It crashed from time to time if I open a file from left project panel while other open files are exists in the tab's.
The problem are I can not reproduce this crashes.
First I was thinking it happens only if I have 300 or more files open but it crashed with only 9 open files also.
And it crashed without any user action also !!!
I came back from the kitchen and a open poseidonFB session was anymore on screen.
Joshy
Sometimes it's crash like infinite loop, in Windows the error report is IUP.dll but I don't know how to fix....
Sorry......
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
Haha, my system language is "Traditional Chinese", I use ctrl+space to change between different language.WQ1980 wrote:Kuan Hsu
Maybe add to the editor default input language setting when program starts - English (at least Windows, WinApi function LoadKeyboardLayout, ActivateKeyboardLayout etc.)?
This is important if the system language is not English.
Start to write code - input is not English...
Let me check how "LoadKeyboardLayout" and "ActivateKeyboardLayout" work.
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
freebasic code example:Kuan Hsu wrote: Haha, my system language is "Traditional Chinese", I use ctrl+space to change between different language.
Let me check how "LoadKeyboardLayout" and "ActivateKeyboardLayout" work.
Code: Select all
#Include Once "IUP/iup.bi"
#Ifdef __FB_WIN32__
#Include Once "windows.bi"
#EndIf
IupOpen(0,0)
Var dlg = IupDialog(IupSetAttributes(IupText(NULL), "RASTERSIZE=540x380"))
IupSetAttributes(dlg, "TITLE = IupDialog, RASTERSIZE = 640x480")
#Ifdef __FB_WIN32__
Dim As HKL enghkl = LoadKeyboardLayout("00000409",KLF_ACTIVATE+KLF_SETFORPROCESS) '' 00000409 English layout
ActivateKeyboardLayout(enghkl, KLF_SETFORPROCESS)
#EndIf
IupShow(dlg)
IupMainLoop()
IupClose()
Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)
Thanks for your code. ^^WQ1980 wrote:freebasic code example:
Done at rev0.407, "Preference" -> "Editor" -> "Auto en-Keyboard Layout" -> "ON"(Windows only), next time start poseidonFB will force english layout~
Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)
hi Kuan Hsu,
under linux 64, (with i'm not very familiar) i've tested your ide to compile single file source code, all worked ok
so to explore more, I've tried to compile the fbc compiler using a poseidon project but it failed , could you explain how to do?
under linux 64, (with i'm not very familiar) i've tested your ide to compile single file source code, all worked ok
so to explore more, I've tried to compile the fbc compiler using a poseidon project but it failed , could you explain how to do?