Skip to content

Commit

Permalink
Drop invalid blockComment setting (#123)
Browse files Browse the repository at this point in the history
There isn't a block comment in BBC BASIC, but we were setting
`REM` ... `:` as one.  The result was that the editor's "Toggle block
comment" command would insert a REM before the selection and ":" after
which doesn't actually comment out the selected block.

If we don't set this, the block comment commands just don't do
anything, which seems more helpful than doing something wrong.
  • Loading branch information
ojwb authored Jan 24, 2025
1 parent 41c9611 commit 5c46f92
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/bbcbasic.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,6 @@ export function registerBbcBasicLanguage() {

languages.setLanguageConfiguration("BBCBASIC", {
comments: {
blockComment: ["REM", ":"],
lineComment: "REM",
},
brackets: [
Expand Down

0 comments on commit 5c46f92

Please sign in to comment.