Test commit
This commit is contained in:
parent
28e8810ea5
commit
f532ff4f56
19 changed files with 30 additions and 4 deletions
0
.gitattributes
vendored
Normal file → Executable file
0
.gitattributes
vendored
Normal file → Executable file
0
Features
Normal file → Executable file
0
Features
Normal file → Executable file
0
LICENSE
Normal file → Executable file
0
LICENSE
Normal file → Executable file
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
kpad/.directory
Normal file → Executable file
0
kpad/.directory
Normal file → Executable file
0
kpad/.gitignore
vendored
Normal file → Executable file
0
kpad/.gitignore
vendored
Normal file → Executable file
BIN
kpad/.icon.png
Normal file → Executable file
BIN
kpad/.icon.png
Normal file → Executable file
Binary file not shown.
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
3
kpad/.project
Normal file → Executable file
3
kpad/.project
Normal file → Executable file
|
@ -1,7 +1,7 @@
|
||||||
# Gambas Project File 3.0
|
# Gambas Project File 3.0
|
||||||
Title=Kpad
|
Title=Kpad
|
||||||
Startup=FMain
|
Startup=FMain
|
||||||
Version=0.0.7
|
Version=0.0.9
|
||||||
Component=gb.image
|
Component=gb.image
|
||||||
Component=gb.gui.qt
|
Component=gb.gui.qt
|
||||||
Component=gb.form
|
Component=gb.form
|
||||||
|
@ -13,6 +13,7 @@ Component=gb.form.editor
|
||||||
Component=gb.settings
|
Component=gb.settings
|
||||||
Component=gb.term
|
Component=gb.term
|
||||||
Component=gb.form.terminal
|
Component=gb.form.terminal
|
||||||
|
Component=gb.gui.qt.webkit
|
||||||
Component=gb.pcre
|
Component=gb.pcre
|
||||||
Component=gb.signal
|
Component=gb.signal
|
||||||
Description="Gambas version of kake pad"
|
Description="Gambas version of kake pad"
|
||||||
|
|
|
@ -76,7 +76,8 @@ Private Function CloseDoc() As Boolean
|
||||||
Endif
|
Endif
|
||||||
|
|
||||||
txtc = False
|
txtc = False
|
||||||
Me.Close
|
Me.Close ' We let the GUI bits shut down first due to quit not handling that too well as per the notes in the docs.
|
||||||
|
Quit ' When modding the code just close the program window vs file quit as the crash intercepter is trigger, though the docs say Quit is what should be used
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -92,7 +93,7 @@ End
|
||||||
' The following might be good to hook for detecting changes in the editor so we can make sure to save
|
' The following might be good to hook for detecting changes in the editor so we can make sure to save
|
||||||
|
|
||||||
Public Sub TextEditor1_Change()
|
Public Sub TextEditor1_Change()
|
||||||
|
' Small bug when you open file this sets true based off a blank state so will ask to save even if no actual changes have been made
|
||||||
SetModify(True)
|
SetModify(True)
|
||||||
|
|
||||||
End
|
End
|
||||||
|
@ -158,7 +159,7 @@ End
|
||||||
|
|
||||||
Public Sub Menu9_Click()
|
Public Sub Menu9_Click()
|
||||||
|
|
||||||
Message.Info("Kpad v6 beta ported to gambas \n Parts may fall off", "Ok")
|
Message.Info("Kpad v6 beta ported to gambas from Perl \n Parts may fall off and I'm not sure why I ported it", "Ok")
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -179,6 +180,7 @@ End
|
||||||
Public Sub Menu25_Click()
|
Public Sub Menu25_Click()
|
||||||
|
|
||||||
TextEditor1.Clear()
|
TextEditor1.Clear()
|
||||||
|
txtc = False
|
||||||
FMain.Title = "Kpad New File"
|
FMain.Title = "Kpad New File"
|
||||||
|
|
||||||
End
|
End
|
||||||
|
@ -256,3 +258,10 @@ Public Sub Menu33_Click()
|
||||||
|
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
Public Sub Menu34_Click()
|
||||||
|
|
||||||
|
' Live web view
|
||||||
|
FWeb.Show
|
||||||
|
|
||||||
|
End
|
||||||
|
|
3
kpad/.src/FMain.form
Normal file → Executable file
3
kpad/.src/FMain.form
Normal file → Executable file
|
@ -100,6 +100,9 @@
|
||||||
{ Menu33 Menu
|
{ Menu33 Menu
|
||||||
Text = ("View Terminal")
|
Text = ("View Terminal")
|
||||||
}
|
}
|
||||||
|
{ Menu34 Menu
|
||||||
|
Text = ("Live Web View")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
{ Menu23 Menu
|
{ Menu23 Menu
|
||||||
Text = ("Run")
|
Text = ("Run")
|
||||||
|
|
0
kpad/.src/FTerm.class
Normal file → Executable file
0
kpad/.src/FTerm.class
Normal file → Executable file
0
kpad/.src/FTerm.form
Normal file → Executable file
0
kpad/.src/FTerm.form
Normal file → Executable file
2
kpad/.src/FWeb.class
Executable file
2
kpad/.src/FWeb.class
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
' Gambas class file
|
||||||
|
|
11
kpad/.src/FWeb.form
Executable file
11
kpad/.src/FWeb.form
Executable file
|
@ -0,0 +1,11 @@
|
||||||
|
# Gambas Form File 3.0
|
||||||
|
|
||||||
|
{ Form Form
|
||||||
|
MoveScaled(0,0,64,64)
|
||||||
|
Arrangement = Arrange.Fill
|
||||||
|
AutoResize = True
|
||||||
|
{ WebView1 WebView
|
||||||
|
MoveScaled(23,24,16,16)
|
||||||
|
Expand = True
|
||||||
|
}
|
||||||
|
}
|
0
kpad/.src/Find.class
Normal file → Executable file
0
kpad/.src/Find.class
Normal file → Executable file
0
kpad/.src/Find.form
Normal file → Executable file
0
kpad/.src/Find.form
Normal file → Executable file
0
kpad/.src/Global.class
Normal file → Executable file
0
kpad/.src/Global.class
Normal file → Executable file
0
kpad/.src/Replace.class
Normal file → Executable file
0
kpad/.src/Replace.class
Normal file → Executable file
0
kpad/.src/Replace.form
Normal file → Executable file
0
kpad/.src/Replace.form
Normal file → Executable file
Loading…
Add table
Add a link
Reference in a new issue