INNER CODE UNIT · TypeScript

end_pos

bioSyntax/bioSyntax · vscode/src/extension.ts:181

                                let end_pos = activeEditor.document.positionAt(index+offset+sub_offset+1);
                                let decoration = {range: new vscode.Range(start_pos, end_pos)};
                                updateDecorationArrays(key, decoration);
                            }
                        }else{
                            break;
                        }
                        tmp_probe += 1;
                    }
                }
                offset += (line.length+1);
            }
        } else {
            return;
        }
        activeEditor.setDecorations(style.ntADecorationType, ntAs);
        activeEditor.setDecorations(style.ntTDecorationType, ntTs);
        activeEditor.setDecorations(style.ntGDecorationType, ntGs);

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…