File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
packages/monaco-plugin-ob Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @oceanbase-odc/monaco-plugin-ob" ,
3- "version" : " 1.4.1 " ,
3+ "version" : " 1.4.2 " ,
44 "description" : " " ,
55 "main" : " dist/index.js" ,
66 "scripts" : {
Original file line number Diff line number Diff line change @@ -347,6 +347,7 @@ export default {
347347 if ( ! statement ) {
348348 return null ;
349349 }
350+ offset = offset - statement . start ;
350351 const result = statement . parse ( offset , ( ) => { } ) ;
351352 if ( ! result ) {
352353 return null ;
Original file line number Diff line number Diff line change @@ -419,6 +419,7 @@ export default {
419419 */
420420 return null ;
421421 }
422+ offset = offset - statement . start ;
422423 const result = statement . parse ( offset , ( ) => { } ) ;
423424 if ( ! result ) {
424425 return null ;
You can’t perform that action at this time.
0 commit comments