Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multifile project showing three editing issues #194

Closed
FullValueRider opened this issue Jun 7, 2021 · 4 comments
Closed

Multifile project showing three editing issues #194

FullValueRider opened this issue Jun 7, 2021 · 4 comments

Comments

@FullValueRider
Copy link

Describe the bug
There are three issues

  1. Even minor edits cause the compiler to crash such that twinbasic is effectively unusable.
  2. After splitting the previous single file into module and class related files the keyword colour coding seems out sync in places (see Kvp.twin).
  3. The lines in which errors occur, as indicted by the red lines in the overview window ,are off screen when shown as included by the preview window scroll bar (See error at line 2081 in Kvp.twin)

The project is attached.

twinBASIC_VBALib.zip

@WaynePhillipsEA
Copy link
Collaborator

WaynePhillipsEA commented Jun 7, 2021

@FullValueRider thanks for the bug report. I've located the (1) error and fixed internally. I'm looking into (2).

For (3), could you show me a screenshot? I'm struggling to understand that one. Thanks.

@FullValueRider
Copy link
Author

The block you drag to scroll up and down the current editing window encompasses the red error indicator but the error line is not in the editor window. Its difficult to show on a screen grab because the grey block doesn't appear unless the mouse cursor is over the vertical scroll bar or in the current edit window.

image

@WaynePhillipsEA
Copy link
Collaborator

fullValueRider1

Looks OK here. twinBASIC provides the error information to VS Code, but doesn't have any involvement in the rendering of the window, so provided the correct part of the code is underlined in the main window, then it is a VS Code rendering bug.

@WaynePhillipsEA
Copy link
Collaborator

1 & 2 fixed in v0.10.1164. Thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants