Skip to content

Commit

Permalink
checkpoint - restructure
Browse files Browse the repository at this point in the history
  • Loading branch information
kristofer committed Nov 25, 2018
1 parent 9adf3a7 commit 50da88b
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 735 deletions.
File renamed without changes.
8 changes: 4 additions & 4 deletions tkg/buffer.go → buffer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tkg
package kg

import (
"errors"
Expand All @@ -15,9 +15,9 @@ type Buffer struct {
Next *Buffer /* b_next Link to next buffer_t */
Mark int /* b_mark the mark */
//Point int /* b_point the point */
OrigPoint int /* b_cpoint the original current point, used for mutliple window displaying */
PageStart int /* b_page start of page */
PageEnd int /* b_epage end of page */
OrigPoint int /* b_cpoint the original current point, used for mutliple window displaying */
PageStart int /* b_page start of page */
PageEnd int /* b_epage end of page */
// FirstLine int /* b_page start of page */
// LastLine int /* b_epage end of page */
Reframe bool /* b_reframe force a reframe of the display */
Expand Down
2 changes: 1 addition & 1 deletion tkg/buffer_test.go → buffer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tkg
package kg

import (
"fmt"
Expand Down
2 changes: 1 addition & 1 deletion tkg/command.go → command.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tkg
package kg

import (
"io/ioutil"
Expand Down
2 changes: 1 addition & 1 deletion tkg/editor.go → editor.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tkg
package kg

import (
"fmt"
Expand Down
4 changes: 2 additions & 2 deletions tkg/editor_test.go → editor_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package tkg
package kg

import (
"testing"
)

func TestEditor(t *testing.T) {
edit := &Editor{}
testy := []string{"tkg"} // , "docs/UTF8.txt"}
testy := []string{"kg"} // , "docs/UTF8.txt"}
edit.StartEditor(testy, len(testy))
}
2 changes: 1 addition & 1 deletion tkg/files.go → files.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package tkg
package kg

import (
"io/ioutil"
Expand Down
Loading

0 comments on commit 50da88b

Please sign in to comment.