Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • AppImage
  • WorkSpace
  • cmake
  • evdev
  • exclamation-mark-completion
  • gb.chart2
  • gb.git
  • gb.joystick
  • gb.net.imap
  • gb.spreadsheet
  • gb.test
  • gb.test.tap
  • master
  • newdialogs
  • stable
  • 3.11.0
  • 3.11.1
  • 3.11.2
  • 3.11.3
  • 3.11.4
  • 3.12.0
  • 3.12.1
  • 3.12.2
  • 3.13.0
  • 3.14.0
  • 3.14.1
  • 3.14.2
  • 3.14.3
  • 3.15.0
  • 3.15.1
  • 3.15.2
  • 3.16.0
  • 3.16.1
  • 3.16.2
  • 3.16.3
  • 3.17.0
  • 3.17.1
  • 3.17.2
  • 3.17.3
  • 3.18.0
  • 3.18.1
  • 3.18.2
  • 3.18.3
  • 3.18.4
  • 3.19.0
  • 3.19.1
  • 3.19.2
  • 3.19.3
  • 3.19.4
  • 3.19.5
  • 3.19.6
  • 3.20.0
  • 3.20.1
  • 3.20.2
  • help
  • v1.9.44
  • v1.9.45
  • v1.9.46
  • v1.9.47
  • v1.9.48
  • v1.9.49
  • v1.9.50
  • v1.9.51
  • v1.9.90
  • v1.9.91
  • v1.9.92
  • v2.0.0
  • v2.1
  • v2.1.1
  • v2.10
  • v2.10.1
  • v2.10.2
  • v2.11
  • v2.11.1
  • v2.12
  • v2.13
  • v2.13.1
  • v2.14
  • v2.15
  • v2.15.1
  • v2.15.2
  • v2.16.0
  • v2.17.0
  • v2.18.0
  • v2.19.0
  • v2.2
  • v2.2.1
  • v2.20.0
  • v2.20.1
  • v2.20.2
  • v2.21.0
  • v2.22.0
  • v2.23.0
  • v2.23.1
  • v2.24.0
  • v2.3
  • v2.4
  • v2.4.1
  • v2.5
  • v2.6
  • v2.7
  • v2.8
  • v2.8.1
  • v2.8.2
  • v2.9
  • v2.9.0
  • v2.99.1
  • v2.99.2
  • v2.99.3
  • v2.99.4
  • v2.99.5
  • v2.99.6
  • v2.99.7
  • v3.0.0
  • v3.1.0
115 results

Target

Select target project
  • xmonader/gambas
  • gambas/gambas
  • gbWilly/gambas
  • dtardon/gambas
  • Davidmue/gambas
  • mmu_man/gambas
  • jguardon/gambas
  • tstueker/gambas
  • timsoft/gambas
  • yann64/gambas
  • Matthew-Collins/gambas
  • microhobby/gambas
  • ercoupeflyer/gambas
  • pebauer68/gambas
  • ptmarstech/gambas
  • christhal/gambas
  • tboege/gambas
  • christopherwoo/gambas
  • yusronarif/gambas
  • gen.braga/gambas
  • MelvinG24/gambas
  • Krischel/gambas
  • liang-wei/gambas
  • brucebruen/gambas
  • LibreDWG/gambas
  • SkyN9ne/gambas
  • zxMarce/gambas
  • lordheavy/gambas
  • ddabrahams76/gambas
  • GianluigiOr/gambas
  • rfc1394/gambas
  • wekan/gambas
  • bsteers4/gambas
  • fweimer-rh/gambas
  • CDCDCDCDCDCD/gambas
  • geekdu42/gambas
  • belmotek/gambas
  • jfrank1500/gambas
  • mfischerq/gambas
  • shiny0110/gambas
  • kk667788/gambas
  • bandali/gambas
  • 64sys/gambas
  • justlostintime/gambas
  • aleasto/gambas
  • bgermann/gambas
  • linusky/gambas
47 results
Select Git revision
  • AppImage
  • WorkSpace
  • cmake
  • evdev
  • exclamation-mark-completion
  • gb.chart2
  • gb.git
  • gb.joystick
  • gb.net.imap
  • gb.spreadsheet
  • gb.test
  • gb.test.tap
  • master
  • newdialogs
  • stable
  • 3.11.0
  • 3.11.1
  • 3.11.2
  • 3.11.3
  • 3.11.4
  • 3.12.0
  • 3.12.1
  • 3.12.2
  • 3.13.0
  • 3.14.0
  • 3.14.1
  • 3.14.2
  • 3.14.3
  • 3.15.0
  • 3.15.1
  • 3.15.2
  • 3.16.0
  • 3.16.1
  • 3.16.2
  • 3.16.3
  • 3.17.0
  • 3.17.1
  • 3.17.2
  • 3.17.3
  • 3.18.0
  • 3.18.1
  • 3.18.2
  • 3.18.3
  • 3.18.4
  • 3.19.0
  • 3.19.1
  • 3.19.2
  • 3.19.3
  • 3.19.4
  • 3.19.5
  • 3.19.6
  • 3.20.0
  • 3.20.1
  • 3.20.2
  • help
  • v1.9.44
  • v1.9.45
  • v1.9.46
  • v1.9.47
  • v1.9.48
  • v1.9.49
  • v1.9.50
  • v1.9.51
  • v1.9.90
  • v1.9.91
  • v1.9.92
  • v2.0.0
  • v2.1
  • v2.1.1
  • v2.10
  • v2.10.1
  • v2.10.2
  • v2.11
  • v2.11.1
  • v2.12
  • v2.13
  • v2.13.1
  • v2.14
  • v2.15
  • v2.15.1
  • v2.15.2
  • v2.16.0
  • v2.17.0
  • v2.18.0
  • v2.19.0
  • v2.2
  • v2.2.1
  • v2.20.0
  • v2.20.1
  • v2.20.2
  • v2.21.0
  • v2.22.0
  • v2.23.0
  • v2.23.1
  • v2.24.0
  • v2.3
  • v2.4
  • v2.4.1
  • v2.5
  • v2.6
  • v2.7
  • v2.8
  • v2.8.1
  • v2.8.2
  • v2.9
  • v2.9.0
  • v2.99.1
  • v2.99.2
  • v2.99.3
  • v2.99.4
  • v2.99.5
  • v2.99.6
  • v2.99.7
  • v3.0.0
  • v3.1.0
115 results
Show changes
Commits on Source (4)
Showing with 66 additions and 15 deletions
......@@ -9,6 +9,8 @@ Private $aBranches As String[]
Public Sub Init()
txtFilter.H = FMain.GetTabBarHeight()
$sBranch = ""
$aBranches = VersionControl.GetBranches(ByRef $sCurrent)
......@@ -85,3 +87,9 @@ Public Sub lstBranch_GotFocus()
txtFilter.SetFocus
End
Public Sub txtFilter_Click()
lstBranch_Activate
End
......@@ -6,11 +6,11 @@
Resizable = False
Arrangement = Arrange.Vertical
{ txtFilter ButtonBox
MoveScaled(2,1,34,3)
MoveScaled(2,1,34,4)
Foreground = Color.LightForeground
Picture = Picture["icon:/small/ok"]
Placeholder = ("Enter a filter")
Border = False
Button = False
ClearButton = True
Filter = True
FilterPicture = Picture["icon:/large/version-control"]
......
......@@ -685,11 +685,22 @@ Private Function DoNotPush_Read() As Boolean
End
Private Sub RevertNotImportantFiles()
Dim sFile As String
For Each sFile In [".icon.png", ".gitignore"]
$hVC.Revert(Project.Dir &/ sFile)
Next
End
Public Sub SetBranch(sBranch As String)
Dim sCurrent As String
Inc Application.Busy
Inc Application.Busy
RevertNotImportantFiles()
$hVC.SetBranch(sBranch)
$sCurrentBranch = ""
sCurrent = GetCurrentBranch()
......
../../gb.form.stock/gambas-thin/128/database.png
\ No newline at end of file
comp/src/gb.db.form/.hidden/icon.png

1.87 KiB

comp/src/gb.db.form/.icon.png

5.48 KiB | W: 0px | H: 0px

comp/src/gb.db.form/.icon.png

5.19 KiB | W: 0px | H: 0px

comp/src/gb.db.form/.icon.png
comp/src/gb.db.form/.icon.png
comp/src/gb.db.form/.icon.png
comp/src/gb.db.form/.icon.png
  • 2-up
  • Swipe
  • Onion skin
# Gambas Project File 3.0
Title=Data bound controls
Startup=FMain2
Icon=.hidden/icon.png
Icon=.hidden/database.png
Version=3.18.90
VersionFile=1
Component=gb.image
......
# Gambas Project File 3.0
Title=Text editor with syntax highlighting
Startup=FTestBruce
Startup=FTestEditor
Icon=.hidden/control/texteditor.png
Version=3.18.90
VersionFile=1
......@@ -10,6 +10,7 @@ Component=gb.form
Component=gb.util
Component=gb.pcre
Component=gb.highlight
Component=gb.gui.webview
TabSize=2
Translate=1
Language=en_US
......
......@@ -17,6 +17,7 @@ Property EndOfLine As Integer
Property CloseBraces As Boolean
Property CloseStrings As Boolean
Property Read DiffMode As Boolean
Property CanRewrite As Boolean Use $bCanRewrite = True
Public Const ROW_NOT_FOUND As Integer = -2
......@@ -956,7 +957,7 @@ Private Sub StartHighlight() As Boolean
$bHighlighting = True
$hHighlight.CanRewrite = True '_Mode.Name
$hHighlight.CanRewrite = $bCanRewrite
If Not $bHighlightAll And If $hHighlight.CanRewrite Then
For Each hView In GetAllViews()
......@@ -1671,5 +1672,3 @@ Private Function DiffMode_Read() As Boolean
Return DiffRemoved
End
......@@ -4,7 +4,7 @@ Export
Inherits UserControl
Public Const _Properties As String = "*,Border=True,ShowPreview,ScrollBar{Scroll.*}=Both,Highlight{None;Custom;C;CPlusPlus;CSS;Diff;Gambas;HTML;JavaScript;SQL;WebPage;Sh}=None,Mode{None;Custom;C;CPlusPlus;CSS;Diff;Gambas;HTML;JavaScript;SQL;WebPage;Sh}=None,ReadOnly,TabSize{Range:2;64}=2,TabIndent,Wrap,ShowPosition,ShowLimit,ShowCurrent,ShowLineNumber,ShowModified,ShowBraces,ShowIcon,ShowExpand,ShowCursor=True,ShowSpaces,ShowIndent,CloseBraces,CloseStrings"
Public Const _Properties As String = "*,Border=True,ShowPreview,ScrollBar{Scroll.*}=Both,Highlight{None;Custom;C;CPlusPlus;CSS;Diff;Gambas;HTML;JavaScript;SQL;WebPage;Sh}=None,Mode{None;Custom;C;CPlusPlus;CSS;Diff;Gambas;HTML;JavaScript;SQL;WebPage;Sh}=None,Rewrite=True,ReadOnly,TabSize{Range:2;64}=2,TabIndent,Wrap,ShowPosition,ShowLimit,ShowCurrent,ShowLineNumber,ShowModified,ShowBraces,ShowIcon,ShowExpand,ShowCursor=True,ShowSpaces,ShowIndent,CloseBraces,CloseStrings"
Public Const _DrawWith As String = "-"
Public Const _DefaultEvent As String = "Change"
Public Const _Similar As String = "TextArea"
......@@ -294,6 +294,14 @@ Property CloseStrings As Boolean
Property Theme As TextHighlighterTheme
'' @{since 3.19}
''
'' Return or set if the highlighter can rewrite the highlighted contents.
''
'' This property is TRUE by default.
Property Rewrite As Boolean
Private Const MATCH_STRING As String = "()[]{}"
Static Private $cShortcut As Collection
......@@ -6284,9 +6292,11 @@ Public Sub SideBar_MouseMove()
iCurLine = _ViewToReal(Min(Max(0, Floor((Mouse.Y - $iMD) / $fBarLineHeight)), iCount))
$hSideBarViewer.GotoCenter(0, iCurLine)
X = IIf(Me.RightToLeft, $hSideBar.Left + $hSideBar.Width, $hSideBar.Left - $hView.Width / 2)
$hSideBarViewer.Move(X, Min(Max(1, Mouse.Y - ($hView.Height / 5) / 2), $hSideBar.Height - $hSideBarViewer.Height))
$hSideBarViewer.Raise
$hSideBarViewer.Show
$hSideBarViewer.Move(X, Min(Max(1, Mouse.Y - $hSideBarViewer.Height / 2), $hSideBar.Height - $hSideBarViewer.Height))
If Not $hSideBarViewer.Visible Then
$hSideBarViewer.Raise
$hSideBarViewer.Show
Endif
End Select
......@@ -7060,3 +7070,15 @@ Public Sub mnuFind_Click()
ShowFindPanel
End
Private Function Rewrite_Read() As Boolean
Return $hDoc.CanRewrite
End
Private Sub Rewrite_Write(Value As Boolean)
$hDoc.CanRewrite = Value
End
......@@ -60,6 +60,8 @@ Public Sub Form_Open()
'Image.Debug = True
WebView1.Url = "https://gambaswiki.org"
Reload
'TextEditor1.Mode = "gambas"
'TextEditor1.Load("~/asap/omogen/git/master/gambas/guygle.cgi/.src/GuygleObject.class")
......
......@@ -49,14 +49,14 @@
}
}
{ Panel1 Splitter
MoveScaled(8,11,76,52)
MoveScaled(8,11,105,52)
Expand = True
Arrangement = Arrange.Vertical
{ TextEditor1 TextEditor
MoveScaled(14,5,47,33)
MoveScaled(5,12,28,33)
Font = Font["Gambas,12"]
Background = Color.TextBackground
Border = False
ShowPreview = True
Mode = "C"
Wrap = True
ShowPosition = True
......@@ -71,6 +71,13 @@
CloseBraces = True
CloseStrings = True
}
{ TextArea1 TextArea
MoveScaled(36,6,20,33)
Border = False
}
{ WebView1 WebView
MoveScaled(61,9,38,40)
}
}
{ Timer1 #Timer
#MoveScaled(48,67)
......