editor

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2018 License: MIT Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GonvimMarkdownBufName         = "__GonvimMarkdownPreview__"
	GonvimMarkdownToggleEvent     = "gonvim_markdown_toggle"
	GonvimMarkdownNewBufferEvent  = "gonvim_markdown_new_buffer"
	GonvimMarkdownUpdateEvent     = "gonvim_markdown_update"
	GonvimMarkdownScrollDownEvent = "gonvim_markdown_scroll_down"
	GonvimMarkdownScrollUpEvent   = "gonvim_markdown_scroll_up"
)

Variables

This section is empty.

Functions

func InitEditor

func InitEditor()

InitEditor is

Types

type Activity added in v0.3.0

type Activity struct {
	// contains filtered or unexported fields
}

Activity is the Activity bar

type ActivityItem added in v0.3.0

type ActivityItem struct {
	// contains filtered or unexported fields
}

ActivityItem is the item in Activity bar

type ByCol

type ByCol []map[string]interface{}

ByCol sorts locations by column

func (ByCol) Len

func (s ByCol) Len() int

Len of locations

func (ByCol) Less

func (s ByCol) Less(i, j int) bool

Less than

func (ByCol) Swap

func (s ByCol) Swap(i, j int)

Swap locations

type Char

type Char struct {
	// contains filtered or unexported fields
}

Char is

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 Cursor

type Cursor struct {
	// contains filtered or unexported fields
}

Cursor is

type DeinPlugin added in v0.3.0

type DeinPlugin struct {
	Repo           string
	AuGroup        string `toml:"augroup"`
	Build          string
	Depends        []string
	Frozen         int
	If             interface{}
	Lazy           int
	Marged         int
	Name           string
	NormalizedName string      `toml:"normalized_name"`
	OnCmd          interface{} `toml:"on_cmd"`
	OnEvent        interface{} `toml:"on_event"`
	OnFunc         interface{} `toml:"on_func"`
	OnFt           interface{} `toml:"on_ft"`
	OnI            int         `toml:"on_i"`
	OnIdle         int         `toml:"on_idle"`
	OnIf           string      `toml:"on_if"`
	OnMap          interface{} `toml:"on_map"`
	OnPath         interface{} `toml:"on_path"`
	OnSource       interface{} `toml:"on_source"`
	Path           string
	Rev            string
	Rtp            string
	ScriptType     string `toml:"script_type"`
	Timeout        int
	Trusted        int
	Type           string
	TypeDepth      int         `toml:"type__depth"`
	HookAdd        interface{} `toml:"hook_add"`
	HookDoneUpdate interface{} `toml:"hook_done_update"`
	HookPostSource interface{} `toml:"hook_post_source"`
	HookPostUpdate interface{} `toml:"hook_post_update"`
	HookSource     interface{} `toml:"hook_source"`
}

type DeinPluginItem added in v0.3.0

type DeinPluginItem struct {
	// contains filtered or unexported fields
}

DeinPluginItem is the item structure witch is installed plugin of Shougo/dein.vim

type DeinSide added in v0.3.0

type DeinSide struct {
	// contains filtered or unexported fields
}

DeinSide is the side bar witch is GUI for Shougo/dein.vim

type DeinTomlConfig added in v0.3.0

type DeinTomlConfig struct {
	Plugins []DeinPlugin
}

type Editor

type Editor struct {
	// contains filtered or unexported fields
}

Editor is the editor

type Fileitem added in v0.3.0

type Fileitem struct {
	// contains filtered or unexported fields
}

type Filelist added in v0.3.0

type Filelist struct {
	WSitem *WorkspaceSideItem

	Fileitems []*Fileitem
	// contains filtered or unexported fields
}

type Finder

type Finder struct {
	// contains filtered or unexported fields
}

Finder is a fuzzy finder window

type Font

type Font struct {
	// contains filtered or unexported fields
}

Font is

type Highlight

type Highlight struct {
	// contains filtered or unexported fields
}

Highlight is

type InstalledPlugins added in v0.3.0

type InstalledPlugins struct {
	// contains filtered or unexported fields
}

InstalledPlugins is the widget witch displays installed plugins in DeinSide

type Locpopup

type Locpopup struct {
	// contains filtered or unexported fields
}

Locpopup is the location popup

type Markdown

type Markdown struct {
	// contains filtered or unexported fields
}

Markdown is the markdown preview window

type Message

type Message struct {
	// contains filtered or unexported fields
}

Message isj

type MessageItem

type MessageItem struct {
	// contains filtered or unexported fields
}

MessageItem is

type MiniMap added in v0.3.0

type MiniMap struct {
	// contains filtered or unexported fields
}

MiniMap is

type Notification added in v0.3.0

type Notification struct {
	// contains filtered or unexported fields
}

type Notify added in v0.3.0

type Notify struct {
	// contains filtered or unexported fields
}

type NotifyButton added in v0.3.0

type NotifyButton struct {
	// contains filtered or unexported fields
}

type NotifyLevel added in v0.3.0

type NotifyLevel int
const (
	NotifyInfo NotifyLevel = 0
	NotifyWarn NotifyLevel = 1
)

type NotifyOptionArg added in v0.3.0

type NotifyOptionArg func(*NotifyOptions)

type NotifyOptions added in v0.3.0

type NotifyOptions struct {
	// contains filtered or unexported fields
}

type Palette

type Palette struct {
	// contains filtered or unexported fields
}

Palette is the popup for fuzzy finder, cmdline etc

type PaletteResultItem

type PaletteResultItem struct {
	// contains filtered or unexported fields
}

PaletteResultItem is the result item

type Plugin added in v0.3.0

type Plugin struct {
	// contains filtered or unexported fields
}

Pligin is the item structure witch is the search result in vim-awesome

type PluginSearchResults added in v0.3.0

type PluginSearchResults struct {
	TotalResults   int `json:"total_results"`
	ResultsPerPage int `json:"results_per_page"`
	TotalPages     int `json:"total_pages"`
	Plugins        []struct {
		VimorgRating             int      `json:"vimorg_rating"`
		GithubHomepage           string   `json:"github_homepage"`
		UpdatedAt                int      `json:"updated_at"`
		GithubReadmeFilename     string   `json:"github_readme_filename"`
		VimorgShortDesc          string   `json:"vimorg_short_desc"`
		GithubVimScriptsStars    int      `json:"github_vim_scripts_stars"`
		VimorgType               string   `json:"vimorg_type"`
		NormalizedName           string   `json:"normalized_name"`
		Category                 string   `json:"category"`
		Author                   string   `json:"author"`
		PluginManagerUsers       int      `json:"plugin_manager_users"`
		ShortDesc                string   `json:"short_desc"`
		VimorgAuthor             string   `json:"vimorg_author"`
		VimorgNumRaters          int      `json:"vimorg_num_raters"`
		VimorgURL                string   `json:"vimorg_url"`
		GithubVimScriptsBundles  int      `json:"github_vim_scripts_bundles"`
		GithubRepoName           string   `json:"github_repo_name"`
		Tags                     []string `json:"tags"`
		GithubStars              int      `json:"github_stars"`
		GithubVimScriptsRepoName string   `json:"github_vim_scripts_repo_name"`
		VimorgDownloads          int      `json:"vimorg_downloads"`
		GithubRepoID             string   `json:"github_repo_id"`
		Slug                     string   `json:"slug"`
		VimorgID                 string   `json:"vimorg_id"`
		GithubOwner              string   `json:"github_owner"`
		Name                     string   `json:"name"`
		CreatedAt                int      `json:"created_at"`
		GithubShortDesc          string   `json:"github_short_desc"`
		VimorgName               string   `json:"vimorg_name"`
		GithubURL                string   `json:"github_url"`
		GithubBundles            int      `json:"github_bundles"`
		Keywords                 string   `json:"keywords"`
		GithubAuthor             string   `json:"github_author"`
	} `json:"plugins"`
}

PluginSearchResults is the structure for storing json witch is the search result in vim-awesome

type PopupItem

type PopupItem struct {
	// contains filtered or unexported fields
}

PopupItem is

type PopupMenu

type PopupMenu struct {
	// contains filtered or unexported fields
}

PopupMenu is the popupmenu

type RGBA

type RGBA struct {
	R int
	G int
	B int
	A float64
}

RGBA is

func (*RGBA) Hex

func (rgba *RGBA) Hex() string

Hex is

func (*RGBA) QColor

func (rgba *RGBA) QColor() *gui.QColor

QColor is

func (*RGBA) String

func (rgba *RGBA) String() string

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 SearchComboBox added in v0.3.0

type SearchComboBox struct {
	// contains filtered or unexported fields
}

SearchComboBox is the ComboBox widget for DeinSide

type Searchbox struct {
	// contains filtered or unexported fields
}

Searchbox is the search box widget for DeinSide

type Searchresult added in v0.3.0

type Searchresult struct {
	// contains filtered or unexported fields
}

Searchresult is the structure witch displays the search result of plugins in DeinSide

type Signature

type Signature struct {
	// contains filtered or unexported fields
}

Signature is

type StatusMode

type StatusMode struct {
	// contains filtered or unexported fields
}

StatusMode is

type Statusline

type Statusline struct {
	// contains filtered or unexported fields
}

Statusline is

type StatuslineEncoding

type StatuslineEncoding struct {
	// contains filtered or unexported fields
}

StatuslineEncoding is

type StatuslineFileFormat added in v0.3.0

type StatuslineFileFormat struct {
	// contains filtered or unexported fields
}

StatuslineFileFormat

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 StatuslineMain added in v0.3.0

type StatuslineMain struct {
	// contains filtered or unexported fields
}

StatuslineMain is

type StatuslineNotify added in v0.3.0

type StatuslineNotify struct {
	// contains filtered or unexported fields
}

StatuslineNotify

type StatuslinePos

type StatuslinePos struct {
	// contains filtered or unexported fields
}

StatuslinePos is

type Svg

type Svg struct {
	// contains filtered or unexported fields
}

Svg is

type SvgXML

type SvgXML struct {
	// contains filtered or unexported fields
}

SvgXML is

type Tab

type Tab struct {
	ID int

	Name string
	// contains filtered or unexported fields
}

Tab in the tabline

type Tabline

type Tabline struct {
	CurrentID int

	Tabs []*Tab
	// contains filtered or unexported fields
}

Tabline of the editor

type Window

type Window struct {
	// contains filtered or unexported fields
}

Window 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 {
	Filelist *Filelist

	Filelistwidget *widgets.QWidget
	// contains filtered or unexported fields
}

WorkspaceSideItem is

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL