/
organizer.go
39 lines (34 loc) · 1.05 KB
/
organizer.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package main
import "github.com/slzatz/vimango/vim"
type Organizer struct {
mode Mode
last_mode Mode
cx, cy int //cursor x and y position
fc, fr int // file x and y position
rowoff int //the number of rows scrolled (aka number of top rows now off-screen
altRowoff int
coloff int //the number of columns scrolled (aka number of left rows now off-screen
rows []Row
altRows []AltRow
altFr int
filter string
sort string
sortPriority bool
command_line string
message string
note []string // the preview
command string
show_deleted bool
show_completed bool
view View
altView View //int
taskview int
current_task_id int
string_buffer string
marked_entries map[int]struct{} // map instead of list makes toggling a row easier
title_search_string string
highlight [2]int
vbuf vim.Buffer
bufferTick int
*Session
}