Documentation ¶
Index ¶
- Constants
- Variables
- func InitEditor(options Options, args []string)
- type Cache
- type Cell
- type CmdContent
- type Cmdline
- type ColorPalette
- type Cursor
- type Editor
- type ExternalWin
- type Font
- type HSV
- type Highlight
- type HlChars
- type HlDecoration
- type IMETooltip
- type IntInt
- type LeftStatusItem
- type Message
- type MessageItem
- type MiniMap
- type Notification
- type Notify
- type NotifyButton
- type NotifyLevel
- type NotifyOptionArg
- type NotifyOptions
- type Options
- type Palette
- type PaletteResultItem
- type PopupItem
- type PopupMenu
- type RGBA
- type Screen
- type ScrollBar
- type Statusline
- type StatuslineComponent
- type StatuslineEncoding
- type StatuslineFile
- type StatuslineFileFormat
- type StatuslineFilepath
- type StatuslineFiletype
- type StatuslineGit
- type StatuslineLint
- type StatuslineMode
- type StatuslinePos
- type SvgXML
- type Tab
- type Tabline
- type Tooltip
- type Window
- type Workspace
- type WorkspaceSide
- type WorkspaceSideItem
- type XYZ
Constants ¶
const ( GithubLang1CEnterprise = "#814CCC" GithubLangABAP = "#E8274B" GithubLangActionScript = "#882B0F" GithubLangAda = "#02f88c" GithubLangAgda = "#315665" GithubLangAGSScript = "#B9D9FF" GithubLangAlloy = "#64C800" GithubLangAMPL = "#E6EFBB" GithubLangAngelScript = "#C7D7DC" GithubLangANTLR = "#9DC3FF" GithubLangAPIBlueprint = "#2ACCA8" GithubLangAPL = "#5A8164" GithubLangAppleScript = "#101F1F" GithubLangArc = "#aa2afe" GithubLangASP = "#6a40fd" GithubLangAspectJ = "#a957b0" GithubLangAssembly = "#6E4C13" GithubLangAsymptote = "#4a0c0c" GithubLangATS = "#1ac620" GithubLangAutoHotkey = "#6594b9" GithubLangAutoIt = "#1C3552" GithubLangBallerina = "#FF5000" GithubLangBatchfile = "#C1F12E" GithubLangBlitzMax = "#cd6400" GithubLangBoo = "#d4bec1" GithubLangBrainfuck = "#2F2530" GithubLangC = "#555555" GithubLangCSharp = "#178600" GithubLangCpp = "#f34b7d" GithubLangCeylon = "#dfa535" GithubLangChapel = "#8dc63f" GithubLangCirru = "#ccccff" GithubLangClarion = "#db901e" GithubLangClean = "#3F85AF" GithubLangClick = "#E4E6F3" GithubLangClojure = "#db5855" GithubLangCoffeeScript = "#244776" GithubLangColdFusion = "#ed2cd6" GithubLangCommonLisp = "#3fb68b" GithubLangCommonWorkflowLanguage = "#B5314C" GithubLangComponentPascal = "#B0CE4E" GithubLangCrystal = "#000100" GithubLangCSS = "#563d7c" GithubLangCuda = "#3A4E3A" GithubLangD = "#ba595e" GithubLangDafny = "#FFEC25" GithubLangDart = "#00B4AB" GithubLangDataWeave = "#003a52" GithubLangDhall = "#dfafff" GithubLangDM = "#447265" GithubLangDockerfile = "#384d54" GithubLangDogescript = "#cca760" GithubLangDylan = "#6c616e" GithubLangE = "#ccce35" GithubLangeC = "#913960" GithubLangECL = "#8a1267" GithubLangEiffel = "#946d57" GithubLangElixir = "#6e4a7e" GithubLangElm = "#60B5CC" GithubLangEmacsLisp = "#c065db" GithubLangEmberScript = "#FFF4F3" GithubLangEQ = "#a78649" GithubLangErlang = "#B83998" GithubLangFSharp = "#b845fc" GithubLangFStar = "#572e30" GithubLangFactor = "#636746" GithubLangFancy = "#7b9db4" GithubLangFantom = "#14253c" GithubLangFaust = "#c37240" GithubLangFLUX = "#88ccff" GithubLangForth = "#341708" GithubLangFortran = "#4d41b1" GithubLangFreeMarker = "#0050b2" GithubLangFrege = "#00cafe" GithubLangFuthark = "#5f021f" GithubLangGcode = "#D08CF2" GithubLangGameMakerLanguage = "#71b417" GithubLangGAML = "#FFC766" GithubLangGDScript = "#355570" GithubLangGenie = "#fb855d" GithubLangGherkin = "#5B2063" GithubLangGlyph = "#c1ac7f" GithubLangGnuplot = "#f0a9f0" GithubLangGo = "#00ADD8" GithubLangGolo = "#88562A" GithubLangGosu = "#82937f" GithubLangGrammaticalFramework = "#79aa7a" GithubLangGroovy = "#e69f56" GithubLangHack = "#878787" GithubLangHarbour = "#0e60e3" GithubLangHaskell = "#5e5086" GithubLangHaxe = "#df7900" GithubLangHiveQL = "#dce200" GithubLangHolyC = "#ffefaf" GithubLangHTML = "#e34c26" GithubLangHy = "#7790B2" GithubLangIDL = "#a3522f" GithubLangIdris = "#b30000" GithubLangIGORPro = "#0000cc" GithubLangIo = "#a9188d" GithubLangIoke = "#078193" GithubLangIsabelle = "#FEFE00" GithubLangJ = "#9EEDFF" GithubLangJava = "#b07219" GithubLangJavaScript = "#f1e05a" GithubLangJolie = "#843179" GithubLangJSONiq = "#40d47e" GithubLangJsonnet = "#0064bd" GithubLangJulia = "#a270ba" GithubLangJupyterNotebook = "#DA5B0B" GithubLangKaitaiStruct = "#773b37" GithubLangKotlin = "#F18E33" GithubLangKRL = "#28430A" GithubLangLasso = "#999999" GithubLangLex = "#DBCA00" GithubLangLFE = "#4C3023" GithubLangLiveScript = "#499886" GithubLangLLVM = "#185619" GithubLangLOLCODE = "#cc9900" GithubLangLookML = "#652B81" GithubLangLSL = "#3d9970" GithubLangLua = "#000080" GithubLangMacaulay2 = "#d8ffff" GithubLangMakefile = "#427819" GithubLangMask = "#f97732" GithubLangMATLAB = "#e16737" GithubLangMax = "#c4a79c" GithubLangMAXScript = "#00a6a6" GithubLangmcfunction = "#E22837" GithubLangMercury = "#ff2b2b" GithubLangMeson = "#007800" GithubLangMetal = "#8f14e9" GithubLangMirah = "#c7a938" GithubLangmIRCScript = "#926059" GithubLangMLIR = "#5EC8DB" GithubLangModula3 = "#223388" GithubLangMQL4 = "#62A8D6" GithubLangMQL5 = "#4A76B8" GithubLangMTML = "#b7e1f4" GithubLangNCL = "#28431f" GithubLangNearley = "#990000" GithubLangNemerle = "#3d3c6e" GithubLangnesC = "#94B0C7" GithubLangNetLinx = "#0aa0ff" GithubLangNetLinxERB = "#747faa" GithubLangNetLogo = "#ff6375" GithubLangNewLisp = "#87AED7" GithubLangNextflow = "#3ac486" GithubLangNim = "#ffc200" GithubLangNit = "#009917" GithubLangNix = "#7e7eff" GithubLangNu = "#c9df40" GithubLangObjectiveC = "#438eff" GithubLangObjectiveCpp = "#6866fb" GithubLangObjectiveJ = "#ff0c5a" GithubLangObjectScript = "#424893" GithubLangOCaml = "#3be133" GithubLangOdin = "#60AFFE" GithubLangOmgrofl = "#cabbff" GithubLangooc = "#b0b77e" GithubLangOpal = "#f7ede0" GithubLangOpenQASM = "#AA70FF" GithubLangOxygene = "#cdd0e3" GithubLangOz = "#fab738" GithubLangP4 = "#7055b5" GithubLangPan = "#cc0000" GithubLangPapyrus = "#6600cc" GithubLangParrot = "#f3ca0a" GithubLangPascal = "#E3F171" GithubLangPawn = "#dbb284" GithubLangPep8 = "#C76F5B" GithubLangPerl = "#0298c3" GithubLangPHP = "#4F5D95" GithubLangPigLatin = "#fcd7de" GithubLangPike = "#005390" GithubLangPLSQL = "#dad8d8" GithubLangPogoScript = "#d80074" GithubLangPostScript = "#da291c" GithubLangPowerBuilder = "#8f0f8d" GithubLangPowerShell = "#012456" GithubLangProcessing = "#0096D8" GithubLangProlog = "#74283c" GithubLangPropellerSpin = "#7fa2a7" GithubLangPuppet = "#302B6D" GithubLangPureBasic = "#5a6986" GithubLangPureScript = "#1D222D" GithubLangPython = "#3572A5" GithubLangq = "#0040cd" GithubLangQSharp = "#fed659" GithubLangQML = "#44a51c" GithubLangQtScript = "#00b841" GithubLangQuake = "#882233" GithubLangR = "#198CE7" GithubLangRacket = "#3c5caa" GithubLangRagel = "#9d5200" GithubLangRaku = "#0000fb" GithubLangRAML = "#77d9fb" GithubLangRascal = "#fffaa0" GithubLangReason = "#ff5847" GithubLangRebol = "#358a5b" GithubLangRed = "#f50000" GithubLangRenPy = "#ff7f7f" GithubLangRing = "#2D54CB" GithubLangRiot = "#A71E49" GithubLangRoff = "#ecdebe" GithubLangRouge = "#cc0088" GithubLangRuby = "#701516" GithubLangRUNOFF = "#665a4e" GithubLangRust = "#dea584" GithubLangSaltStack = "#646464" GithubLangSAS = "#B34936" GithubLangScala = "#c22d40" GithubLangScheme = "#1e4aec" GithubLangsed = "#64b970" GithubLangSelf = "#0579aa" GithubLangShell = "#89e051" GithubLangShen = "#120F14" GithubLangSlash = "#007eff" GithubLangSlice = "#003fa2" GithubLangSmalltalk = "#596706" GithubLangSmPL = "#c94949" GithubLangSolidity = "#AA6746" GithubLangSourcePawn = "#5c7611" GithubLangSQF = "#3F3F3F" GithubLangSquirrel = "#800000" GithubLangSRecodeTemplate = "#348a34" GithubLangStan = "#b2011d" GithubLangStandardML = "#dc566d" GithubLangStarlark = "#76d275" GithubLangSuperCollider = "#46390b" GithubLangSwift = "#ffac45" GithubLangSystemVerilog = "#DAE1C2" GithubLangTcl = "#e4cc98" GithubLangTerra = "#00004c" GithubLangTeX = "#3D6117" GithubLangTIProgram = "#A0AA87" GithubLangTuring = "#cf142b" GithubLangTypeScript = "#2b7489" GithubLangUnrealScript = "#a54c4d" GithubLangV = "#5d87bd" GithubLangVala = "#fbe5cd" GithubLangVBA = "#867db1" GithubLangVBScript = "#15dcdc" GithubLangVCL = "#148AA8" GithubLangVerilog = "#b2b7f8" GithubLangVHDL = "#adb2cb" GithubLangVimscript = "#199f4b" GithubLangVisualBasicNET = "#945db7" GithubLangVolt = "#1F1F1F" GithubLangVue = "#2c3e50" GithubLangwdl = "#42f1f4" GithubLangWebAssembly = "#04133b" GithubLangwisp = "#7582D1" GithubLangWollok = "#a23738" GithubLangX10 = "#4B6BEF" GithubLangxBase = "#403a40" GithubLangXC = "#99DA07" GithubLangXQuery = "#5232e7" GithubLangXSLT = "#EB8CEB" GithubLangYacc = "#4B6C4B" GithubLangYARA = "#220000" GithubLangYASnippet = "#32AB90" GithubLangZAP = "#0d665e" GithubLangZenScript = "#00BCD1" GithubLangZephir = "#118f9e" GithubLangZig = "#ec915c" GithubLangZIL = "#dc75e5" )
Giitub Programming Language color ref: https://github.com/ozh/github-colors/blob/master/colors.json
const ( EXTWINBORDERSIZE = 5 EXTWINMARGINSIZE = 10 )
const DummyText = "dummy text"
const (
TABLINEMARGIN = 5
)
const (
WORKSPACELEN = 10
)
Variables ¶
var Version string
Functions ¶
Types ¶
type CmdContent ¶
type CmdContent struct {
// contains filtered or unexported fields
}
CmdContent is the content of the cmdline
type Cmdline ¶
type Cmdline struct {
// contains filtered or unexported fields
}
Cmdline is the cmdline
type ColorPalette ¶ added in v0.3.2
type ColorPalette struct {
// contains filtered or unexported fields
}
ColorPalette is
type HSV ¶ added in v0.4.0
type HSV struct {
H, S, V float64
}
func (*HSV) Colorfulness ¶ added in v0.4.0
type HlChars ¶ added in v0.4.0
type HlChars struct {
// contains filtered or unexported fields
}
HlChars is used in screen cache
type HlDecoration ¶ added in v0.4.10
type HlDecoration struct {
// contains filtered or unexported fields
}
HlDecoration is used in screen cache
type IMETooltip ¶ added in v0.4.13
type IMETooltip struct {
Tooltip
}
IMETooltip is the tooltip for Input Method Editor
type LeftStatusItem ¶ added in v0.3.3
type LeftStatusItem struct {
// contains filtered or unexported fields
}
LeftStatusItem is left side statusline component
type MessageItem ¶
type MessageItem struct {
// contains filtered or unexported fields
}
MessageItem is
type MiniMap ¶ added in v0.3.0
type MiniMap struct { Screen // contains filtered or unexported fields }
MiniMap is
type Notification ¶ added in v0.3.0
type Notification struct {
// contains filtered or unexported fields
}
Notification is
type Notify ¶ added in v0.3.0
type Notify struct {
// contains filtered or unexported fields
}
Notify is
type NotifyButton ¶ added in v0.3.0
type NotifyButton struct {
// contains filtered or unexported fields
}
NotifyButton is
type NotifyLevel ¶ added in v0.3.0
type NotifyLevel int
NotifyLevel is notification type like "warn", "error"
const ( // NotifyInfo is a type of "information" NotifyInfo NotifyLevel = 0 // NotifyWarn is a type of "warning" NotifyWarn NotifyLevel = 1 )
type NotifyOptions ¶ added in v0.3.0
type NotifyOptions struct {
// contains filtered or unexported fields
}
NotifyOptions is
type Options ¶ added in v0.4.10
type Options struct { Geometry string `long:"geometry" description:"Initial window geomtry [e.g. --geometry=800x600]"` Server string `long:"server" description:"Remote session address [e.g. --server=host:3456]"` Ssh string `long:"ssh" description:"Attaching to a remote nvim via ssh. Default port is 22. [e.g. --ssh=user@host:port]"` Nvim string `long:"nvim" description:"Excutable nvim path to attach [e.g. --nvim=/path/to/nvim]"` Debug string `` /* 149-byte string literal not displayed */ Fullscreen bool `long:"fullscreen" description:"Open the window in fullscreen on startup"` Maximized bool `long:"maximized" description:"Maximize the window on startup"` Exttabline bool `long:"exttabline" description:"Externalize the tabline"` Extcmdline bool `long:"extcmdline" description:"Externalize the cmdline"` Extmessages bool `long:"extmessages" description:"Externalize the messages. Sets --extcmdline implicitly"` Version bool `long:"version" description:"Print Goneovim version"` Wsl *string `` /* 146-byte string literal not displayed */ Nofork bool `long:"nofork" description:"Run in foreground"` }
type Palette ¶
type Palette struct {
// contains filtered or unexported fields
}
Palette is the popup for cmdline
type PaletteResultItem ¶
type PaletteResultItem struct {
// contains filtered or unexported fields
}
PaletteResultItem is the result item
type PopupMenu ¶
type PopupMenu struct {
// contains filtered or unexported fields
}
PopupMenu is the popupmenu
type Screen ¶
type Screen struct {
// contains filtered or unexported fields
}
Screen is the main editor area
type ScrollBar ¶ added in v0.3.0
type ScrollBar struct {
// contains filtered or unexported fields
}
ScrollBar is
type Statusline ¶
type Statusline struct {
// contains filtered or unexported fields
}
Statusline is
type StatuslineComponent ¶ added in v0.3.3
type StatuslineComponent struct {
// contains filtered or unexported fields
}
StatuslineComponent is common widget component in statusline
type StatuslineEncoding ¶
type StatuslineEncoding struct {
// contains filtered or unexported fields
}
StatuslineEncoding is
type StatuslineFile ¶
type StatuslineFile struct {
// contains filtered or unexported fields
}
StatuslineFile is
type StatuslineFileFormat ¶ added in v0.3.0
type StatuslineFileFormat struct {
// contains filtered or unexported fields
}
StatuslineFileFormat is
type StatuslineFilepath ¶ added in v0.3.3
type StatuslineFilepath struct {
// contains filtered or unexported fields
}
StatuslineFilepath is
type StatuslineFiletype ¶
type StatuslineFiletype struct {
// contains filtered or unexported fields
}
StatuslineFiletype is
type StatuslineGit ¶
type StatuslineGit struct {
// contains filtered or unexported fields
}
StatuslineGit is
type StatuslineLint ¶
type StatuslineLint struct {
// contains filtered or unexported fields
}
StatuslineLint is
type StatuslineMode ¶ added in v0.3.3
type StatuslineMode struct {
// contains filtered or unexported fields
}
StatuslineMode is
type StatuslinePos ¶
type StatuslinePos struct {
// contains filtered or unexported fields
}
StatuslinePos is
type Workspace ¶
type Workspace struct {
// contains filtered or unexported fields
}
Workspace is an editor workspace
func (*Workspace) InputMethodEvent ¶
func (w *Workspace) InputMethodEvent(event *gui.QInputMethodEvent)
InputMethodEvent is
func (*Workspace) InputMethodQuery ¶
func (w *Workspace) InputMethodQuery(query core.Qt__InputMethodQuery) *core.QVariant
InputMethodQuery is
type WorkspaceSide ¶
type WorkspaceSide struct {
// contains filtered or unexported fields
}
WorkspaceSide is
type WorkspaceSideItem ¶
type WorkspaceSideItem struct {
// contains filtered or unexported fields
}
WorkspaceSideItem is