Changeset 132 for Include/basic/prompt.sbp
- Timestamp:
- Mar 4, 2007, 11:28:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/basic/prompt.sbp
r127 r132 136 136 .y++ 137 137 Else 138 Dim currentLineCharInfo = _PromptSys_TextLine[.y].CharInfo As *_PromptSys_CharacterInformation138 Dim currentLineCharInfo = _PromptSys_TextLine[.y].CharInfo 139 139 _PromptSys_TextLine[.y].Text[.x] = buf[i2] 140 140 currentLineCharInfo[.x].ForeColor = _PromptSys_NowTextColor … … 262 262 263 263 CreateCaret(hwnd, 0, 9, 6) 264 SetCaretPos(_PromptSys_CurPos.x * _PromptSys_FontSize.cx, (_PromptSys_CurPos.y + 1) * _PromptSys_FontSize.cy - 7) 264 With _PromptSys_CurPos 265 SetCaretPos(_PromptSys_TextLine[.y].CharInfo[.x].StartPos, (.y + 1) * _PromptSys_FontSize.cy - 7) 266 End With 265 267 ShowCaret(hwnd) 266 268 End If … … 353 355 354 356 memcpy(VarPtr(_PromptSys_InputStr[_PromptSys_InputLen]), str, size) 355 _PromptSys_InputLen += size 357 _PromptSys_InputLen += size \ SizeOf (Char) 356 358 357 359 Dim tempStr As String(str, size \ SizeOf (Char))
Note:
See TracChangeset
for help on using the changeset viewer.