1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-01 13:50:36 +00:00

Merge pull request #110 from QB64Team/IdeImprovements

Ide improvements
This commit is contained in:
Fellippe Heitor 2021-01-15 20:31:35 -03:00 committed by GitHub
commit 6fade20361
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 580 additions and 496 deletions

View file

@ -394,9 +394,7 @@ The following table describes the error codes that are reported by the '''QB64''
* [[LOC]] (function) {{text|finds the current file location or size of a [[COM]] port receive buffer.}}
* [[LOCK]] (statement) {{text|prevents access to a file.}}
* [[LOF]] (file function) {{text|returns the size of a file in bytes.}}
* [[MKDIR]] (statement) {{
4000
text|creates a new folder in the designated path.}}
* [[MKDIR]] (statement) {{text|creates a new folder in the designated path.}}
* [[NAME]] (statement) {{text|renames a file [[AS]] a new file name.}}
* [[OPEN]] (file I/O statement) {{text|opens a specified file FOR an access mode with a set reference number.}}
* [[OUTPUT]] (file mode) {{text|opens or creates a new file that holds no data.}}

View file

@ -21,6 +21,7 @@ The [[LOCATE]] statement locates the screen text row and column positions for a
* When [[PRINT]]ing on the bottom 2 ''rows'', use a [[semicolon]] after the PRINT expression to avoid a screen roll.
* If the {{Parameter|cursorStart%}} line is given, the {{Parameter|cursorStop%}} line must also be given. A wider range between them produces a taller cursor.
* If you use LOCATE beyond the current number of rows in text mode, QB64 will try to adapt the screen instead of tossing an error.
* When writing to the console, only the ''row'' and ''column'' arguments are used, all others are ignored. Furthermore, on non-Windows systems LOCATE statements that do not give both a ''row'' and ''column'' will be ignored entirely.
{{PageExamples}}

View file

@ -42,10 +42,6 @@ The [[_KEYHIT]] function returns [[ASCII]] one and two byte, OpenGL Virtual Key
:* >= &H40000000: [[Unicode]].
* Font '''cyberbit.ttf''', included with QB64 ('''version 0.92 and up'''), is required to facilitate the '''IME'''(in Chinese settings) only. The 12.7 MB font is free for '''non-commercial''' use and is not loaded unless the user switches to the '''Input Mode Editor'''. Set to "UNICODE".
<center>'''[http://www.fileformat.info/tip/microsoft/enter_unicode.htm Setting up the Unicode Input Method Editor in Windows]'''</center>
<center>If you need help with IME support in '''Vista''' see the following article: [http://blogs.msdn.com/b/michkap/archive/2006/07/20/671835.aspx Setting up IME in Vista]</center>
* QB64 can use several Windows fonts when '''cyberbit''' is not present so it is not necessary to include with program packages.
* An '''important difference''' between [[INKEY$]] and _KEYHIT is how they work when '''CTRL, ALT''' or '''SHIFT''' are used. INKEY$ returns a different code if you hold down CTRL, ALT or SHIFT before pressing F1 (for example). _KEYHIT will return the same code regardless of which modifiers were used but you can check [[_KEYDOWN]] to see which modifying keys are being used.
* '''Keyboards with an Alt Gr key note:''' _KEYHIT may return both Alt (100307) and Ctrl (100306) codes when AltGr key is pressed or released.

File diff suppressed because it is too large Load diff

View file

@ -78,7 +78,6 @@ FUNCTION Wiki$ (PageName$)
t! = TIMER
DO
_DELAY 0.1
GET #c, , a2$
IF LEN(a2$) THEN
a$ = a$ + a2$
@ -110,6 +109,7 @@ FUNCTION Wiki$ (PageName$)
EXIT FUNCTION
END IF
END IF
_LIMIT 100
LOOP UNTIL ABS(TIMER - t!) > 20
CLOSE #c
END FUNCTION

View file

@ -2762,7 +2762,7 @@ DO
END IF
ELSE
LOCATE , 1
PRINT "[" + STRING$(percentagechars, 254) + SPACE$(maxprogresswidth - percentagechars) + "]" + STR$(percentage) + "%";
PRINT STRING$(percentagechars, 219) + STRING$(maxprogresswidth - percentagechars, 176) + STR$(percentage) + "%";
END IF
END IF
END IF
@ -11484,7 +11484,7 @@ IF idemode = 0 AND NOT QuietMode THEN
PRINT "[" + STRING$(maxprogresswidth, ".") + "] 100%"
ELSE
LOCATE , 1
PRINT "[" + STRING$(maxprogresswidth, 254) + "] 100%"
PRINT STRING$(maxprogresswidth, 219) + " 100%"
END IF
END IF