# Path: meld/util/sourceviewer.py
# class _srcviewer(object):
# class _gtksourceview2(_srcviewer):
# class gtksourceview24(_gtksourceview2):
#         class SourceView(viewClass):
# class gtksourceview210(_gtksourceview2):
# class nullsourceview(_srcviewer):
#         class NullTextView(gtk.TextView):
# class MeldSourceView(srcviewer.GtkTextView):
#     def __init__(self):
#     def version_check(self):
#     def overrides(self):
#     def GtkLanguageManager(self):
#     def set_highlight_syntax(self, buf, enabled):
#     def set_tab_width(self, tab, tab_size):
#     def get_language_from_file(self, filename):
#     def get_language_from_mime_type(self, mimetype):
#     def get_language_manager(self):
#     def set_language(self, buf, lang):
#     def version_check(self):
#     def overrides(self):
#     def GtkLanguageManager(self):
#     def set_tab_width(self, tab, tab_size):
#     def set_highlight_syntax(self, buf, enabled):
#     def get_language_from_file(self, filename):
#     def get_language_from_mime_type(self, mime_type):
#     def set_language(self, buf, lang):
#     def version_check(self):
#     def overrides(self):
#             def do_key_press_event(self, event):
#     def version_check(self):
#     def overrides(self):
#     def overrides(self):
#     def version_check(self):
# def _get_srcviewer():
#     def get_y_for_line_num(self, line):
#     def get_line_num_for_y(self, y):
# 
# Path: meld/util/compat.py



import sys
from gettext import gettext as _
from .util import sourceviewer
from .util.compat import text_type
### Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org>
### Copyright (C) 2009-2011 Kai Willadsen <kai.willadsen@gmail.com>

### This program is free software; you can redistribute it and/or modify
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.

### This program is distributed in the hope that it will be useful,
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.

### You should have received a copy of the GNU General Public License
### along with this program; if not, write to the Free Software
### Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
### USA.

from __future__ import unicode_literals





class MeldBuffer(sourceviewer.srcviewer.GtkTextBuffer):

    __gtype_name__ = "MeldBuffer"

    def __init__(self, filename=None):

# Path: meld/util/sourceviewer.py
# class _srcviewer(object):
# class _gtksourceview2(_srcviewer):
# class gtksourceview24(_gtksourceview2):
#         class SourceView(viewClass):
# class gtksourceview210(_gtksourceview2):
# class nullsourceview(_srcviewer):
#         class NullTextView(gtk.TextView):
# class MeldSourceView(srcviewer.GtkTextView):
#     def __init__(self):
#     def version_check(self):
#     def overrides(self):
#     def GtkLanguageManager(self):
#     def set_highlight_syntax(self, buf, enabled):
#     def set_tab_width(self, tab, tab_size):
#     def get_language_from_file(self, filename):
#     def get_language_from_mime_type(self, mimetype):
#     def get_language_manager(self):
#     def set_language(self, buf, lang):
#     def version_check(self):
#     def overrides(self):
#     def GtkLanguageManager(self):
#     def set_tab_width(self, tab, tab_size):
#     def set_highlight_syntax(self, buf, enabled):
#     def get_language_from_file(self, filename):
#     def get_language_from_mime_type(self, mime_type):
#     def set_language(self, buf, lang):
#     def version_check(self):
#     def overrides(self):
#             def do_key_press_event(self, event):
#     def version_check(self):
#     def overrides(self):
#     def overrides(self):
#     def version_check(self):
# def _get_srcviewer():
#     def get_y_for_line_num(self, line):
#     def get_line_num_for_y(self, y):
# 
# Path: meld/util/compat.py



# Path: meld/meldbuffer.py
import sys
from gettext import gettext as _
from .util import sourceviewer
from .util.compat import text_type

### Copyright (C) 2002-2006 Stephen Kennedy <stevek@gnome.org>
### Copyright (C) 2009-2011 Kai Willadsen <kai.willadsen@gmail.com>

### This program is free software; you can redistribute it and/or modify
### it under the terms of the GNU General Public License as published by
### the Free Software Foundation; either version 2 of the License, or
### (at your option) any later version.

### This program is distributed in the hope that it will be useful,
### but WITHOUT ANY WARRANTY; without even the implied warranty of
### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
### GNU General Public License for more details.

### You should have received a copy of the GNU General Public License
### along with this program; if not, write to the Free Software
### Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
### USA.

from __future__ import unicode_literals





class MeldBuffer(sourceviewer.srcviewer.GtkTextBuffer):

    __gtype_name__ = "MeldBuffer"

    def __init__(self, filename=None):

        sourceviewer.srcviewer.GtkTextBuffer.__init__(self)