This commit is contained in:
Felix Angell 2016-11-28 14:28:31 +00:00
parent a16496fe97
commit e9cddc66f8
3 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
# nate-editor
Nate is a re-write of an old text-editor I wrote earlier this year.
Nate is a re-write of an old text-editor I wrote earlier this year. It's
very buggy, may or may not work on macOS, and is still a work in progress!
# goals
The editor must:

View File

@ -219,7 +219,6 @@ func (b *Buffer) processActionKey(t *sdl.KeyDownEvent) {
// TODO: offset should account for tabs
b.curs.move(offs, 1)
}
lineIndex++
case sdl.SCANCODE_TAB:
if b.cfg.Editor.Tabs_Are_Spaces {
// make an empty rune array of TAB_SIZE, cast to string

View File

@ -2,13 +2,14 @@ package main
import (
"fmt"
"runtime"
"github.com/felixangell/nate/cfg"
"github.com/felixangell/nate/gfx"
"github.com/felixangell/nate/gui"
"github.com/veandco/go-sdl2/sdl"
img "github.com/veandco/go-sdl2/sdl_image"
"github.com/veandco/go-sdl2/sdl_ttf"
"runtime"
)
const (