Skip to content

Commit

Permalink
New plugin: Pair Tag Highlighter
Browse files Browse the repository at this point in the history
The plugin finds and highlights matching opening/closing
HTML tag by clicking or moving cursor inside a tag.
  • Loading branch information
vmkononenko authored and Volodymyr Kononenko committed Apr 5, 2013
1 parent 4bec489 commit f81769e
Show file tree
Hide file tree
Showing 11 changed files with 433 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile.am
Expand Up @@ -94,6 +94,10 @@ if ENABLE_MULTITERM
SUBDIRS += multiterm
endif

if ENABLE_PAIRTAGHIGHLIGHTER
SUBDIRS += pairtaghighlighter
endif

if ENABLE_POHELPER
SUBDIRS += pohelper
endif
Expand Down
9 changes: 9 additions & 0 deletions build/pairtaghighlighter.m4
@@ -0,0 +1,9 @@
AC_DEFUN([GP_CHECK_PAIRTAGHIGHLIGHTER],
[
GP_ARG_DISABLE([PairTagHighlighter], [auto])
GP_COMMIT_PLUGIN_STATUS([PairTagHighlighter])
AC_CONFIG_FILES([
pairtaghighlighter/Makefile
pairtaghighlighter/src/Makefile
])
])
1 change: 1 addition & 0 deletions configure.ac
Expand Up @@ -48,6 +48,7 @@ GP_CHECK_GENIUSPASTE
GP_CHECK_GPROJECT
GP_CHECK_MARKDOWN
GP_CHECK_MULTITERM
GP_CHECK_PAIRTAGHIGHLIGHTER
GP_CHECK_POHELPER
GP_CHECK_PRETTYPRINTER
GP_CHECK_SCOPE
Expand Down
1 change: 1 addition & 0 deletions pairtaghighlighter/AUTHORS
@@ -0,0 +1 @@
Volodymyr Kononenko <vm@kononenko.ws>
25 changes: 25 additions & 0 deletions pairtaghighlighter/COPYING
@@ -0,0 +1,25 @@
Copyright (c) 2013, Volodymyr Kononenko
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3 changes: 3 additions & 0 deletions pairtaghighlighter/ChangeLog
@@ -0,0 +1,3 @@
Changes in v1.0 Apr 5, 2013

* The first public version.
4 changes: 4 additions & 0 deletions pairtaghighlighter/Makefile.am
@@ -0,0 +1,4 @@
include $(top_srcdir)/build/vars.auxfiles.mk

SUBDIRS = src
plugin = pairtaghighlighter
Empty file added pairtaghighlighter/NEWS
Empty file.
28 changes: 28 additions & 0 deletions pairtaghighlighter/README
@@ -0,0 +1,28 @@
Pair Tag Highlighter
====================

About
-----

Finds and highlights matching opening/closing HTML tag by clicking or
moving cursor inside a tag.

Usage
-----

Just enable plugin through Geany's plugin manager.

Licence
-------

This plugin is distributed under the terms of the BSD 2-Clause License.
You should have received a copy of the the BSD 2-Clause License in the
file COPYING included with the source code of this plugin. If not, find
it at <http://opensource.org/licenses/BSD-2-Clause>.

Contact developer
-----------------

You may contact developer (Volodymyr Kononenko) via e-mail:
<vm(at)kononenko(dot)ws>. The complete up to date list of contacts
can be found at <http://kononenko.ws/en/contacts>.
9 changes: 9 additions & 0 deletions pairtaghighlighter/src/Makefile.am
@@ -0,0 +1,9 @@
include $(top_srcdir)/build/vars.build.mk

geanyplugins_LTLIBRARIES = pairtaghighlighter.la

pairtaghighlighter_la_SOURCES = pair_tag_highlighter.c

pairtaghighlighter_la_LIBADD = $(COMMONLIBS)

include $(top_srcdir)/build/cppcheck.mk

0 comments on commit f81769e

Please sign in to comment.