mirror of
https://github.com/felixangell/phi.git
synced 2024-09-11 15:55:25 +03:00
Readme
This commit is contained in:
parent
a16496fe97
commit
e9cddc66f8
@ -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:
|
||||
|
@ -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
|
||||
|
3
main.go
3
main.go
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user