FreeBasic IDE-poseidonFB(Update 2024.03.03)
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2020.05.14)
Dear Kuan Hsu;
Thanks V0.429: Added "Keyword" 4,5; .
I added "Keyword4" at "Keywords" , however the color of the code does not change.
Color Keywords #4 is red.
Please let me know if there is any other place I should set up.
Thanks V0.429: Added "Keyword" 4,5; .
I added "Keyword4" at "Keywords" , however the color of the code does not change.
Color Keywords #4 is red.
Please let me know if there is any other place I should set up.
Re: FreeBasic IDE-poseidonFB(Update 2020.05.14)
It should be just setting keywords and color in "Preference" dialog and save it.....Makoto WATANABE wrote:Dear Kuan Hsu;
Thanks V0.429: Added "Keyword" 4,5; .
I added "Keyword4" at "Keywords" , however the color of the code does not change.
Color Keywords #4 is red.
Please let me know if there is any other place I should set up.
Now I'm camping without computer, I will check my code tomorrow night.^^
The iup_scintilla.dll also updated? The new dll should be 639KB that I compiled at 2 days ago.
EDIT:
I checked my code and download rev0.429 to test, every things seem to OK......?
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
1. You can make a color selection on the tab.
2. Bookmarks can be added by clicking on the add button (plus), as well as deleting bookmarks by right-clicking and selecting Delete, but leaving the first four without the possibility of deletion.
So is it possible to do? Who thinks about this?
2. Bookmarks can be added by clicking on the add button (plus), as well as deleting bookmarks by right-clicking and selecting Delete, but leaving the first four without the possibility of deletion.
So is it possible to do? Who thinks about this?
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
My situation is strange.
I did a clean install of rev0.430.
I have added Keyword4.
I changed the color of Keyword4 to red.
The color of the cord remains white.
I did a clean install of rev0.430.
I have added Keyword4.
I changed the color of Keyword4 to red.
The color of the cord remains white.
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
Write the keywords in lower case in settings. For example: freegadget, not FreeGadgetMakoto WATANABE wrote:My situation is strange.
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
Yes, like the author of Scintilla says -- https://scintilla-interest.narkive.com/ ... e-keywordsdixiony wrote:Write the keywords in lower case in settings. For example: freegadget, not FreeGadgetMakoto WATANABE wrote:My situation is strange.
Code: Select all
addcomboboximageitem addcomboboxitem addkeyboardshortcut addlistboxitem addlistviewcolumn addlistviewitem addpanelgadgetitem addrebartab addsystrayicon addtreeviewitem aesdecoder aesencoder arcdrawa asciitoutf bezierdrawa boxdraw boxdrawa buttongadget buttonimagegadget calendargadget canredoeditor canundoeditor centerwindow checkboxgadget circledraw circledrawa clearclipboard clientmdigadget close_file close_window closefbini colorprinter colorrequester comboboxgadget comboboximagegadget compressfile compressmem containergadget copy_image copy_imagea copydir countbuttontoolbar countitemcombobox countitemlistbox create_file create_image create_imagea create_menu create_process createbrusha createcopyimagedesktop createcopyimagerect createcopyimagewindow createcopyimagewindowclient createdir createfbini createfontdrawa creategpbitmapfromhbitmap createhbitmapfromgpbitmap createiconitemmenu createiconorcursorfrombitmap createiconorcursorfromfile createiconorcursorfromgpbitmap createpopmenu createtoolbar curvedrawa datecalendargadget decode64 decompressfile decompressmem delete_menu deleteallkeyboardshortcut deletebuttontoolbar deletecomboboxitem deletedir deleteindeximagelistview deleteitemlistview deleteitemmenu deleteitempanelgadget deletelistboxitem deletelistviewcolumn deletelistviewitemsall deletesystrayicon deletetabrebargadget deletetreeviewitem deltooltip directoryentryattributes directoryentrydate directoryentryname directoryentrysize disablegadget disabletooltip disablewindow displaypopupmenu documentend documentstart e_o_f editorgadget emptyundobuffereditor encode64 enumsettingsdisplay examinedirectory extract_icon fastcopy fastcrc32 filecomboboxitem filelistboxitem fillrectdraw finditemcombobox finditemlistbox finishdirectory firstprocess flagkeylistview fontdraw fontprinter fontrequester framepage free_image freebrusha freecallback freefontdrawa freegadget freegpbitmap freemenu freemovie gadgetheight gadgetid gadgettooltip gadgetwidth gadgetx gadgety get_file_pointer getbitsdesktop getbuttontoolbarstate getclipboardimage getclipboardtext getcolumnlistview getcolumnwidthlistview getcomboboxtext getcountdoc getcountitemtreeview getcountline getcounttabrebargadget getcurentdir getcurrentfilename getcurrentfilenamea getcurrentindexchareditor getcurrentsettingsdisplay getendposmovie getexitcode getextensionpart getfilepart getfirstvisiblelineeditor getfrequencydesktop getfullsize getgadgetattribute getgadgetcolor getgadgetstate getgadgettext getheightdesktop getheightrebargadget gethimagecombo_ getidprocess getindeximagetreeview getipaddress getitemcombobox getitemcountlistview getitemlistbox getitemlistview getitemtreeview getlenstring getlinecounteditor getlinetexteditor getlistboxtext getmenuitemtext getmodifyeditor getnameprocess getpasswordchar getpathpart getpix getpixa getratemovie getrealsize getrecteditor getscrollgadgetpos getscrollgadgetrange getselcountlistbox getselectedcountlistview getselecttexteditorgadget getspecialfolder getstatecalendar getstatemenu getsubitemlistview getsystemdir gettempdir gettextitemlistview gettextrebargadget gettexttreeview gettoolbartextbutton gettooltiptext gettopindexlistbox gettrackbarpos getwidthdesktop getwindowsdir globalmousex globalmousey grab_image grab_imagea gradientfilldraw groupgadget hidegadget hidemenu hidewindow hwndprinter id_in_number idinindexrebargadget image_height image_heighta image_width image_widtha imagedraw imagedrawa imagegadget imagestartdraw imagestartdrawa includebinary initprocess insert_menu insert_menu ipaddressgadget ismouseover killprocess lenitemtextcombobox lenitemtextlistbox linedraw linedrawa linefromchareditor lineindexeditor linelengtheditor linescrolleditor listboxgadget listviewgadget load_icon load_image load_imagea load_imagegp loadfont loadmovie md5createfilehash md5createhash mdigadget menubackcolor menubar menuitem menuitem menutitle messbox modedrawa modify_menu modify_menu movedir moveitemtreeview movetabrebargadget movieaudiogetvolume movieaudiosetvolume moviefullscreen moviegetcurrentposition moviegetstate moviescreenshot moviesetpositions moviesourseheight moviesoursewidth nextdirectoryentry nextprocess nextselectedfilename open_file open_process openfbini openfilerequester openglgadget openglgadgetmakecurrent openglgadgetswapbuffers opensubmenu openwindow optiongadget pageend pagestart panelgadget panelgadgetgetcursel panelgadgetsetcursel pasteeditor pausemovie peeks piedraw piedrawa pixdraw playmovie polygondrawa polylinedraw printimage printtext progressbargadget read_byte read_character read_data read_dataa read_datas read_double read_file read_integer read_longint read_single read_string read_word readbytevaluefbini readdoublevaluefbini readintegervaluefbini readlongintvaluefbini readonlyeditor readshortvaluefbini readstringvaluefbini rebargadget redoeditor removedir renamedir renameitemtreeview replaceimageitemtreeview replaceimagelistview replacestring replacesystrayicon replacetextcolumnlistview replacetextitemlistview resetallcombobox resetalllistbox resetenum resize_image resize_imagea resizegadget resizemovie resizewindow rotate4_image rotateandscaleimage rotateandscaleimagea roundboxdraw rounddraw rounddrawa runprogram save_image save_imagea savefilerequester saveiconorcursor scrollbargadget selectedfontcolor selectedfontname selectedfontsize selectedfontstyle set_file_pointer setbuttontoolbarstate setclipboardimage setclipboardtext setcolumnwidthlistbox setcolumnwidthlistview setcurentdir setcurrentsettingsdisplay setgadgetattribute setgadgetcolor setgadgetfont setgadgetstate setgadgettext setimagegadget setipaddress setitemcombobox setitemlistbox setlimittexteditor setmodifyeditor setpagestepscrollbar setpasswordchar setpixa setrangeprogressbar setratemovie setrecteditor setrunonlyexe setscrollgadgetpage setscrollgadgetpos setscrollgadgetrange setselectmanyitem setselecttexteditorgadget setstatecalendar setstatemenu setstatusbarfield settabstopseditor settextrebargadget settoolbarbuttonsize settoolbartooltipcolor settoolbartooltipfont settooltiptext settopindexlistbox settrackbarmaxpos settrackbarminpos settrackbarpos settransfertextlineeditorgadget settransparentwindow setwindowcallback setwindowtop setxprogressbarcolor sha1create sha1createfile sha512create sha512createfile shellfolder showlistcombobox size_file sleepw9 spingadget startprinter stopdraw stopdrawa stopmovie stopprinter stringgadget textdraw textdrawa textgadget textprinter toolbarimagebutton toolbarseparator toolbarstandardbutton toolbartooltip tooltipstatusbar trackbargadget treeviewgadget undoeditor updateitem usegadgetlist utftoasciistatusbargadget waitexitprocess waitloadprocess webgadget webgadgetgetbody webgadgetgeturl webgadgetgoback webgadgetgoforward webgadgetnavigate webgadgetrefresh webgadgetsetbody webgadgetstate webgadgetstop windowbackgroundimage windowbounds windowclientheight windowclientwidth windowcolor windowheight windowstartdraw windowwidth windowx windowy write_byte write_character write_data write_double write_integer write_longint write_single write_string write_stringn write_word writegroupfbini writevaluefbini
Last edited by Kuan Hsu on May 21, 2020 15:36, edited 1 time in total.
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
1. Color button on tabs is a good idea, let me check...^^dixiony wrote:1. You can make a color selection on the tab.
2. Bookmarks can be added by clicking on the add button (plus), as well as deleting bookmarks by right-clicking and selecting Delete, but leaving the first four without the possibility of deletion.
So is it possible to do? Who thinks about this?
2. I think just tell everybody we can set 6 types.
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
Dear dixiony;
Thanks for showing me how to register keywords.
In the code, the keyword color is displayed as I expected, and "Keyword Autocomple" is also enabled.
Thank you very much.
Dear Kuan Hsu;
Thank you for adding keywords to poseidonFB.
>I'm camping without computer,
I think it's great that Taiwan is in a position to enjoy outdoor leisure by preventing the spread of COVIT-19.
The death toll in Taiwan is only 7!
My region of Japan is still in a state of emergency.
For this reason, I am staying home and enjoying Window9 with poseidonFB.
By the way, "SetForm" is displayed by Autocomple.
I don't remember registering this keyword, where is this keyword displayed from?
Also, two candidate lines are displayed, how can I make them one line?
Thanks for showing me how to register keywords.
In the code, the keyword color is displayed as I expected, and "Keyword Autocomple" is also enabled.
Thank you very much.
Dear Kuan Hsu;
Thank you for adding keywords to poseidonFB.
>I'm camping without computer,
I think it's great that Taiwan is in a position to enjoy outdoor leisure by preventing the spread of COVIT-19.
The death toll in Taiwan is only 7!
My region of Japan is still in a state of emergency.
For this reason, I am staying home and enjoying Window9 with poseidonFB.
By the way, "SetForm" is displayed by Autocomple.
I don't remember registering this keyword, where is this keyword displayed from?
Also, two candidate lines are displayed, how can I make them one line?
Re: FreeBasic IDE-poseidonFB(Update 2020.05.18)
poseidonFB will parse external bi if the "Enable Parser" is "ON", for example: our file with
poseidonFB will load the Window9.bi and parse it( of course need setting the include path correctly first ), then the autocomplete and calltip perform.
In this case, whatever the additional keywords be set or not, the autocomplete list will show the functions about window9.
Question 1, SetForm?
The SetForm is a function in Winspool.bi, when our code include "Window9.bi", Window9.bi also include many *.bi, the different *.bi also include more *.bi, the parsedTrees of poseidonFB will grow to very huge and we need search and compare every nodes to perform codecomplete, the speed will get slower, so I design an option -- "Include Levels" to avoid parsing over and over *.bi
The level is default = 3, in this case if we change the level to 2, the Winspool.bi will not be parsed, if we set level = 1, poseidonFB will just parse the Window9.bi.
There are some tips about speed up:
(1) Adjust the level, decrease the files to be parsed
(2) Set "Autocompletion Trigger" to bigger, like 3~4
(3) Buy new computer......^^
Question2, double SetForm?
there are two SetForm function in Winspool.bi( alias ANSI / UNICODE ), if we aren't remove one of them, we got 2 function list, that's my sources issue, Scintilla can perform sorted lists using SCI_AUTOCSETORDER and D language is convenient to sort the strings but the result is case-sensitive, I need sort all list items then remove duplicate lists( or 200 lists use one by one compare, we need cal 200! times ), but the BASIC language is case-insensitive and I want the list with original word case, so.......x@@!xc^*/.....
I will fix the issue~
Question3, double SetgadgetColor...?
Because of the "Codecompletion" and "Key AutoComplete" are working at same time, we can notice the icons are different, "F"( mean FUNCTION" ) is by Codecompletion. the green ring icon is by "Key AutoComplete", the different icons are mean different things in poseidonFB, I'll add some code by one rule: if we get keyword with green ring icon, check next list is the same name, if yes, remove the keyword list.
COVIT-19:
Take care man! I also stayed at home on hoilday last/last month, I wish the disease can go away and I want to travel to Japan again~^^
Code: Select all
#include "window9.bi"
In this case, whatever the additional keywords be set or not, the autocomplete list will show the functions about window9.
Question 1, SetForm?
The SetForm is a function in Winspool.bi, when our code include "Window9.bi", Window9.bi also include many *.bi, the different *.bi also include more *.bi, the parsedTrees of poseidonFB will grow to very huge and we need search and compare every nodes to perform codecomplete, the speed will get slower, so I design an option -- "Include Levels" to avoid parsing over and over *.bi
The level is default = 3, in this case if we change the level to 2, the Winspool.bi will not be parsed, if we set level = 1, poseidonFB will just parse the Window9.bi.
There are some tips about speed up:
(1) Adjust the level, decrease the files to be parsed
(2) Set "Autocompletion Trigger" to bigger, like 3~4
Question2, double SetForm?
there are two SetForm function in Winspool.bi( alias ANSI / UNICODE ), if we aren't remove one of them, we got 2 function list, that's my sources issue, Scintilla can perform sorted lists using SCI_AUTOCSETORDER and D language is convenient to sort the strings but the result is case-sensitive, I need sort all list items then remove duplicate lists( or 200 lists use one by one compare, we need cal 200! times ), but the BASIC language is case-insensitive and I want the list with original word case, so.......x@@!xc^*/.....
I will fix the issue~
Question3, double SetgadgetColor...?
Because of the "Codecompletion" and "Key AutoComplete" are working at same time, we can notice the icons are different, "F"( mean FUNCTION" ) is by Codecompletion. the green ring icon is by "Key AutoComplete", the different icons are mean different things in poseidonFB, I'll add some code by one rule: if we get keyword with green ring icon, check next list is the same name, if yes, remove the keyword list.
COVIT-19:
Take care man! I also stayed at home on hoilday last/last month, I wish the disease can go away and I want to travel to Japan again~^^
Re: FreeBasic IDE-poseidonFB(Update 2020.05.06)
I've updated to rev. 431 will check if em occurs again.
Now I've another problem.
Code: Select all
Function Noise3D(x As Single, y As Single, z As Single) As Single
Dim As UShort xx = Int(x) And &hFF, yy = Int(y) And &hFF, zz = Int(z) And &hFF
x -= Int(x)
y -= Int(y)
z -= Int(z)
Dim As Single u = Fade(x), v = Fade(y), w = Fade(z)
Return 0
End Function
Before:
Dim As Single u = Fade(x), v = Fade(y), w = Fade(z)
After
Dim As Single u = Fade(x1), v = Fade(y), w = Fade(z)
Re: FreeBasic IDE-poseidonFB(Update 2020.05.06)
Fixed at rev.432UEZ wrote: Now I've another problem.If I go to the x with the cursor in Fade(x) and place the cursor after the x and press 1 to change x to x1 then poseidonFB completely freezes.Code: Select all
Function Noise3D(x As Single, y As Single, z As Single) As Single Dim As UShort xx = Int(x) And &hFF, yy = Int(y) And &hFF, zz = Int(z) And &hFF x -= Int(x) y -= Int(y) z -= Int(z) Dim As Single u = Fade(x), v = Fade(y), w = Fade(z) Return 0 End Function
Before:
Dim As Single u = Fade(x), v = Fade(y), w = Fade(z)
After
Dim As Single u = Fade(x1), v = Fade(y), w = Fade(z)
The infinite loop issue is call IUP functions in back thread, linux version no this issue.
Re: FreeBasic IDE-poseidonFB(Update 2020.05.23)
Problem is fixed now.
Thx.
Thx.
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2020.05.23)
Dear Kuan Hsu;
Thank you for explaining the meaning of "Include Levels".
When I made it to level 1, the keystrokes were smooth even on my old computer.
I've confirmed with V0.432 that Autocomplete quickly displays the required candidates line by line.
Thanks for your support.
By the way, I can get help by putting on the keyword in the code and pressing F1.
However, I don't see anything in Options -> Manual.
I would appreciate it if you could confirm this.
Thank you for explaining the meaning of "Include Levels".
When I made it to level 1, the keystrokes were smooth even on my old computer.
I've confirmed with V0.432 that Autocomplete quickly displays the required candidates line by line.
Thanks for your support.
By the way, I can get help by putting on the keyword in the code and pressing F1.
However, I don't see anything in Options -> Manual.
I would appreciate it if you could confirm this.
-
- Posts: 231
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2020.05.23)
Dear Kuan Hsu;
I updated the Japanese.lng with minor modifications.
http://makoto-watanabe.main.jp/Japanese.zip
I updated the Japanese.lng with minor modifications.
http://makoto-watanabe.main.jp/Japanese.zip