package
0.0.0-20241005065720-618f903996a1
Repository: https://github.com/sunshine69/gnote.git
Documentation: pkg.go.dev

# Functions

Asset loads and returns the asset for the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
No description provided by the author
ChromaHighlight - Syntax highlighter using Chroma syntax highlighter: "github.com/alecthomas/chroma" informations above.
Populate some notes needed for data lookup - used by other part of the app Currently we store the language / file extention data but in the future we might store more.
This note is used to lookup Language => File Extention so we can save the note to file with correct extension in note-pad.go and note-search.go.
Parse the language string that current gtksourceview support and save it to a note so we can check against it The list is created from this command on linux ls /usr/share/gtksourceview-3.0/language-specs/ | sed 's/.lang//'.
Python and msys shell is like s***t.
DeleteConfig - delete the config key.
DoMigration - once off - this is old.
No description provided by the author
No description provided by the author
No description provided by the author
GetConfig - by key and return value.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InputDialog - Args: title, label prompt, password-mask,.
Take a string, lookup the supported language and if found return the string or match part of string.
No description provided by the author
No description provided by the author
MessageBox - display a message.
MustAsset is like Asset but panics when Asset would return an error.
NewNoteFromFile -.
NewNotePad - Create new NotePad.
NewNoteSearch - Create new NotePad.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
RestoreAssetsAll -.
No description provided by the author
No description provided by the author
SetConfig - Set a config key with value.
SetupConfigDB - SetupDB.
SetupDefaultConfig - Setup/reset default configuration set.
No description provided by the author

# Variables

No description provided by the author
DateLayout - global.
DbConn - Global DB connection.
WebNotePassword.
WebNoteUser.

# Structs

AppConfig - Application config struct.
GnoteApp - struct.
Note - data structure.
NotePad - GUI related.
NoteSearch - GUI related.