diff --git a/Source/Libs/SourceView/GtkSourceBuffer.cs b/Source/Libs/SourceView/GtkSourceBuffer.cs
new file mode 100644
index 000000000..82ee48ed0
--- /dev/null
+++ b/Source/Libs/SourceView/GtkSourceBuffer.cs
@@ -0,0 +1,13 @@
+namespace GtkSharp.SourceView
+{
+
+ using System;
+ public partial class GtkSourceBuffer : Gtk.TextBuffer
+ {
+ public GtkSourceBuffer() : base(IntPtr.Zero)
+ {
+ owned = true;
+ Raw = gtk_source_buffer_new(IntPtr.Zero);
+ }
+ }
+}
diff --git a/Source/Libs/SourceView/SourceView-api.raw b/Source/Libs/SourceView/SourceView-api.raw
new file mode 100644
index 000000000..9bad88e03
--- /dev/null
+++ b/Source/Libs/SourceView/SourceView-api.raw
@@ -0,0 +1,1198 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Source/Libs/SourceView/SourceView.csproj b/Source/Libs/SourceView/SourceView.csproj
new file mode 100644
index 000000000..7388895e8
--- /dev/null
+++ b/Source/Libs/SourceView/SourceView.csproj
@@ -0,0 +1,25 @@
+
+
+ true
+ netstandard2.0
+ https://github.com/GtkSharp/GtkSharp
+ https://github.com/GtkSharp/GtkSharp
+ SourceView is a C# wrapper for the GtkSourceView library.
+ sourceview;sourceviewsharp;sourceview-sharp;wrapper
+ AnyCPU
+
+
+
+
+
+
+
+
+
+
diff --git a/Source/Libs/SourceView/SourceView.metadata b/Source/Libs/SourceView/SourceView.metadata
new file mode 100644
index 000000000..c0d25486f
--- /dev/null
+++ b/Source/Libs/SourceView/SourceView.metadata
@@ -0,0 +1,31 @@
+
+
+ RedoFired
+ UndoFired
+ SmartHomeEndFired
+ Activated
+ true
+ true
+ Hidden
+ ActivatableQueried
+ DataQueried
+ TooltipQueried
+ DrawQueued
+ EmitChanged
+ EmitCanRedoChanged
+ EmitCanUndoChanged
+
+
+
+ true
+ true
+ true
+ true
+ true
+ ref
+ ref
+ out
+ ref
+ ref
+ out
+
\ No newline at end of file
diff --git a/Source/Libs/SourceView/SourceView.source b/Source/Libs/SourceView/SourceView.source
new file mode 100644
index 000000000..eee36e243
--- /dev/null
+++ b/Source/Libs/SourceView/SourceView.source
@@ -0,0 +1,9 @@
+
+
+
+
+ gtksourceview-4.0.0/gtksourceview
+
+
+
+
diff --git a/Source/Libs/SourceView/generate.sh b/Source/Libs/SourceView/generate.sh
new file mode 100755
index 000000000..561b93be3
--- /dev/null
+++ b/Source/Libs/SourceView/generate.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/bash
+
+wget http://ftp.acc.umu.se/pub/GNOME/sources/gtksourceview/4.0/gtksourceview-4.0.0.tar.xz
+tar xf gtksourceview-4.0.0.tar.xz
+
+gapi3-parser SourceView.source
+gapi3-fixup --api=SourceView-api.xml --metadata=SourceView.metadata
+gapi3-codegen --outdir=Generated `pkg-config --cflags gtk-sharp-3.0` --generate SourceView-api.xml
+dotnet build
+
+rm gtksourceview-4.0.0.tar.xz
+rm -rf gtksourceview-4.0.0
\ No newline at end of file