Fix search_find_text not returning -1 when match is out of range.
[geany-mirror.git] / data / filetypes.freebasic
blob1bc150ced58804136c2102075e56d754f5dab3f8
1 # For complete documentation of this file, please see Geany's main documentation
2 [styling]
3 # foreground;background;bold;italic
4 default=0x000000;0xffffff;false;false;
5 comment=0x808080;0xffffff;false;false;
6 number=0x007f00;0xffffff;false;false;
7 word=0x00007f;0xffffff;true;false;
8 string=0xff901e;0xffffff;false;false;
9 preprocessor=0x007f7f;0xffffff;false;false;
10 operator=0x301010;0xffffff;false;false;
11 identifier=0x000000;0xffffff;false;false;
12 date=0x1a6500;0xffffff;false;false;
13 stringeol=0x000000;0xe0c0e0;false;false;
14 word2=0x007f7f;0xffffff;true;false;
15 word3=0x991111;0xffffff;false;false;
16 word4=0x0000d0;0xffffff;false;false;
17 constant=0x007f7f;0xffffff;false;false;
18 # asm is still unused
19 asm=0x105090;0xffffff;false;false;
20 label=0x007f7f;0xffffff;false;false;
21 error=0xd00000;0xffffff;false;false;
22 hexnumber=0x007f00;0xffffff;false;false;
23 binnumber=0x007f00;0xffffff;false;false;
25 [keywords]
26 # all items must be in one line
27 keywords=abs access acos alias allocate alpha and any append as assert assertwarn asc asin asm atan2 atn base beep bin binary bit bitreset bitset bload bsave byref byte byval call callocate case cast cbyte cdbl cdecl chain chdir chr cint circle class clear clng clngint close cls color com cons command common condbroadcast condcreate conddestroy condsignal condwait const constructor continue cos cptr cshort csign csng csrlin cubyte cuint culng culngint cunsg curdir cushort custom cvd cvi cvl cvlongint cvs cvshort data date dateadd datediff datepart dateserial datevalue day deallocate declare defbyte defdbl defint deflng deflngint defshort defsng defstr defubyte defuint defulngint defushort delete destructor dim dir do double draw dynamic dylibfree dylibload dylibsymbol else elseif encoding end enum environ escape eof eqv erase erfn erl ermn err error exec exepath exit exp explicit export extern false fboolean field fileattr filecopy filedatetime fileexists filelen fix flip for format frac fre freefile function get getjoystick getkey getmouse gosub goto  hex hibyte hiword hour  if iif imageconvertrow imagecreate imagedestroy imp import inkey inp input input$ instr int integer is isdate  kill  lbound lcase left len let lib lpt line lobyte loc local locate lock lof log long longint loop loword lpos lprint lset ltrim mid minute mkd mkdir mki mkl mklongint mks mkshort mod month monthname multikey mutexcreate mutexdestroy mutexlock mutexunlock name namespace nokeyword next new not now oct offsetof on once open option operator or out output overload paint palette pascal pcopy peek pipe pmap point pointer poke pos preserve preset print private procptr property protected pset ptr public put random randomize read reallocate redim rem reset restore resume return rgb rgba right rmdir rnd rset rtrim run sadd scope scrn screen screencopy screencontrol screenevent screeninfo screenglproc screenlist screenlock screenptr screenres screenset screensync screenunlock second seek select setdate setenviron setmouse settime sgn shared shell short sin single sizeof sleep space spc sqr static stdcall step stop str string strptr sub swap system shr shl tab tan then this threadcreate threadwait time timeserial timevalue timer to trans trim true type ubound ubyte ucase uinteger ulong ulongint union unlock unsigned until ushort using va_arg va_first va_next val vallng valint valuint valulng var varptr view wait wbin wchr weekday weekdayname wend while whex width window windowtitle winput with woct write wspace wstr wstring xor year zstring
28 preprocessor=#define defined typeof #dynamic #else #endif #error #if #ifdef #ifndef #inclib #include #print #static #undef #macro #endmacro #elseif #libpath #pragma
29 # user definable keywords
30 user1=
31 user2=
33 [settings]
34 # default extension used when saving files
35 #extension=bas
37 # the following characters are these which a "word" can contains, see documentation
38 #wordchars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
40 # if only single comment char is supported like # in this file, leave comment_close blank
41 comment_open='
42 comment_close=
43 # this is an alternative way, so multiline comments are used
44 #comment_open=/'
45 #comment_close='/
47 # set to false if a comment character/string should start at column 0 of a line, true uses any
48 # indentation of the line, e.g. setting to true causes the following on pressing CTRL+d
49         #command_example();
50 # setting to false would generate this
51 #       command_example();
52 # This setting works only for single line comments
53 comment_use_indent=true
55 # context action command (please see Geany's main documentation for details)
56 context_action_cmd=
58 [build_settings]
59 # %f will be replaced by the complete filename
60 # %e will be replaced by the filename without extension
61 # (use only one of it at one time)
62 compiler=fbc -w all "%f"
63 run_cmd="./%e"