• Docs
  • Extension-Tutorial
  • API
  • Translations
    • 简体中文
    • 繁體中文
    • English
  • Demand
  • Sponsor

HBuilderX Docs

  • Overview
  • commands
  • Language
    • createDiagnosticCollection
    • registerInlineCompletionItemProvider
  • Window
    • Message
    • StatusBarMessage
    • showMessageBox
    • showQuickPick
    • getActiveTextEditor
    • showInputBox
    • createOutputChannel
    • showFormDialog
    • createTreeView
    • createWebView
    • createWebViewDialog
    • showView
    • registerUriHandler
    • registerCustomEditorProvider
    • TextEditor
    • createStatusBarItem
  • workspace
    • applyEdit
    • copyFileWithPrompt
    • getConfiguration
    • getWorkspaceFolders
    • getWorkspaceFolder
    • openTextDocument
    • onDidChangeConfiguration
    • onDidChangeWorkspaceFolders
    • onDidChangeTextDocument
    • onDidSaveTextDocument
    • onDidOpenTextDocument
    • onWillSaveTextDocument
  • util
    • JSON
  • env
    • env Attribute List
    • authorize
    • Clipboard
    • openExternal
  • other
    • Disposable
    • Command
    • Range
      • Range
    • CancellationToken
    • Position
    • TextDocument
    • DocumentSelector
    • Uri
    • WorkspaceFolder
    • languageId
  • ActivationEvent
  • Manifest
  • package.json
  • HBuilderX
    DCloud Forum

Range

Range: 文本区域

属性列表

属性名 属性类型 描述
start Number 起始位置
end Number 结束位置

Found mistake? Want to participate in editing? Edit this page on GitHub

HBuilderX plug-in development document, not translated into English, welcome to contribute. Translate this document on github