Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/brackets-completion/brackets-completion.vala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public class Scratch.Plugins.BracketsCompletion : Peas.ExtensionBase, Scratch.Se
"", " ", "\b", "\r", "\n", "\t", ",", ".", ";", ":"
};

public Object object { owned get; construct; }
public Object object { owned get; set construct; }

private Gee.HashMap<string, string> brackets;
private Gee.HashMap<uint, string> keys;
Expand Down
2 changes: 1 addition & 1 deletion plugins/detect-indent/detect-indent.vala
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ public class Scratch.Plugins.DetectIndent: Peas.ExtensionBase, Scratch.Services.
const int MAX_LINES = 500;

Scratch.Services.Interface plugins;
public Object object {owned get; construct;}
public Object object {owned get; set construct;}

public void update_state () {
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/editorconfig/editorconfig.vala
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public class Scratch.Plugins.EditorConfigPlugin: Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
Scratch.Services.Interface plugins;
public Object object { owned get; construct; }
public Object object { owned get; set construct; }
private Code.FormatBar format_bar;

public void update_state () { }
Expand Down
2 changes: 1 addition & 1 deletion plugins/fuzzy-search/fuzzy-search.vala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


public class Scratch.Plugins.FuzzySearch: Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
public Object object { owned get; construct; }
public Object object { owned get; set construct; }
private const uint ACCEL_KEY = Gdk.Key.F;
private const Gdk.ModifierType ACCEL_MODTYPE = Gdk.ModifierType.MOD1_MASK;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Scratch.Plugins.HighlightSelectedWords : Peas.ExtensionBase, Scratc
private const uint SELECTION_HIGHLIGHT_MAX_CHARS = 255;

Scratch.Services.Interface plugins;
public Object object { owned get; construct; }
public Object object { owned get; set construct; }

public void update_state () {}

Expand Down
2 changes: 1 addition & 1 deletion plugins/markdown-actions/markdown-actions.vala
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Code.Plugins.MarkdownActions : Peas.ExtensionBase, Scratch.Services
Scratch.Widgets.SourceView current_source;
Scratch.Services.Interface plugins;

public Object object { owned get; construct; }
public Object object { owned get; set construct; }

public void update_state () {}

Expand Down
2 changes: 1 addition & 1 deletion plugins/pastebin/pastebin.vala
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace Scratch.Services {
public class Scratch.Plugins.Pastebin : Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
GLib.MenuItem? menuitem = null;
GLib.Menu? share_menu = null;
public Object object { owned get; construct; }
public Object object { owned get; set construct; }

Scratch.Services.Document? doc = null;
Scratch.Services.Interface plugins;
Expand Down
2 changes: 1 addition & 1 deletion plugins/preserve-indent/preserve-indent.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public class Scratch.Plugins.PreserveIndent : Peas.ExtensionBase, Scratch.Servic
private int last_clipboard_indent_level = 0;
private bool waiting_for_clipboard_text = false;

public Object object { owned get; construct; }
public Object object { owned get; set construct; }

public void activate () {
this.documents = new Gee.TreeSet<weak Services.Document> ();
Expand Down
2 changes: 1 addition & 1 deletion plugins/spell/spell.vala
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class Scratch.Plugins.Spell: Peas.ExtensionBase, Scratch.Services.Activat
GtkSpell.Checker spell = null;
#endif

public Object object {owned get; construct;}
public Object object {owned get; set construct;}

public void update_state () {
}
Expand Down
2 changes: 1 addition & 1 deletion plugins/vim-emulation/vim-emulation.vala
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class Scratch.Plugins.VimEmulation : Peas.ExtensionBase, Scratch.Services
Scratch.Widgets.SourceView? view = null;

Scratch.Services.Interface plugins;
public Object object { owned get; construct; }
public Object object { owned get; set construct; }

construct {
views = new Gee.TreeSet<Scratch.Widgets.SourceView> ();
Expand Down
2 changes: 1 addition & 1 deletion plugins/word-completion/plugin.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
public class Scratch.Plugins.Completion : Peas.ExtensionBase, Scratch.Services.ActivatablePlugin {
public const uint INTERACTIVE_DELAY = 500;

public Object object { owned get; construct; }
public Object object { owned get; set construct; }

private List<Gtk.SourceView> text_view_list = new List<Gtk.SourceView> ();
public Euclide.Completion.Parser parser {get; private set;}
Expand Down
2 changes: 1 addition & 1 deletion src/Services/PluginManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ public interface Scratch.Services.ActivatablePlugin : Object {
public abstract void activate ();
public abstract void deactivate ();
public virtual void update_state () {}
public abstract GLib.Object object { owned get; construct; }
public abstract GLib.Object object { owned get; set construct; }
}

// Object shared with plugins providing signals and methods to interface with application
Expand Down