├── .gitignore
├── AUTHORS
├── BUGS-ETC
├── COPYING
├── ChangeLog
├── Doxyfile
├── INSTALL
├── KKEdit
├── app
│ └── Makefile.am
├── flagsandlibs
├── kkeditmsg
│ └── main.cpp
├── plugins
│ ├── Clipboard
│ │ ├── ClipboardPlugin.pot
│ │ ├── ClipboardPlugin_fr_FR.po
│ │ ├── Makefile.am
│ │ ├── clipboard.cpp
│ │ ├── exportmap
│ │ ├── makepo
│ │ └── po
│ │ │ └── fr_FR
│ │ │ └── LC_MESSAGES
│ │ │ └── ClipboardPlugin.mo
│ ├── FileBrowser
│ │ ├── FileBrowser.pot
│ │ ├── FileBrowser_fr_FR.po
│ │ ├── Makefile.am
│ │ ├── exportmap
│ │ ├── filebrowser.cpp
│ │ ├── makepo
│ │ └── po
│ │ │ └── fr_FR
│ │ │ └── LC_MESSAGES
│ │ │ └── FileBrowser.mo
│ ├── SessionManager
│ │ ├── Makefile.am
│ │ ├── SessionManager.pot
│ │ ├── SessionManager_fr_FR.po
│ │ ├── exportmap
│ │ ├── makepo
│ │ ├── po
│ │ │ └── fr_FR
│ │ │ │ └── LC_MESSAGES
│ │ │ │ └── SessionManager.mo
│ │ └── sessionmanager.cpp
│ ├── SymbolMenu
│ │ ├── Makefile.am
│ │ ├── SymbolMenuPlugin.pot
│ │ ├── SymbolMenuPlugin_fr_FR.po
│ │ ├── exportmap
│ │ ├── indicator-chars.txt
│ │ ├── makepo
│ │ ├── po
│ │ │ └── fr_FR
│ │ │ │ └── LC_MESSAGES
│ │ │ │ └── SymbolMenuPlugin.mo
│ │ └── symbolmenu.cpp
│ ├── TerminalPane
│ │ ├── Makefile.am
│ │ ├── TerminalPane.pot
│ │ ├── TerminalPane_fr_FR.po
│ │ ├── exportmap
│ │ ├── makepo
│ │ ├── po
│ │ │ └── fr_FR
│ │ │ │ └── LC_MESSAGES
│ │ │ │ └── TerminalPane.mo
│ │ └── terminalpane.cpp
│ ├── common.h
│ ├── config.h
│ └── kkedit-plugins.h
├── pole
│ └── main.cpp
├── resources
│ ├── Example External Tools
│ │ ├── README
│ │ ├── User Submitted Tools
│ │ │ ├── scripts
│ │ │ │ ├── DeleteComments
│ │ │ │ ├── EncodingInfo
│ │ │ │ ├── NumberLines
│ │ │ │ ├── RemoveBlankLines
│ │ │ │ ├── RemoveComments
│ │ │ │ ├── RemoveExtraSpaces
│ │ │ │ ├── RemoveLineNumbers
│ │ │ │ ├── Sort
│ │ │ │ ├── SortUnique
│ │ │ │ ├── Statistics
│ │ │ │ └── UnComment
│ │ │ └── tools
│ │ │ │ ├── Delete-Comments
│ │ │ │ ├── Encoding-Info
│ │ │ │ ├── Number-Lines
│ │ │ │ ├── Remove-Blank-Lines
│ │ │ │ ├── Remove-Extra-Spaces
│ │ │ │ ├── Remove-Line-Numbers
│ │ │ │ ├── Sort
│ │ │ │ ├── Sort-Unique
│ │ │ │ ├── Statistics
│ │ │ │ └── UnComment
│ │ ├── scripts
│ │ │ ├── CommentSelection
│ │ │ ├── CreateCFiles
│ │ │ ├── DiffFiles
│ │ │ ├── ToLowerCase
│ │ │ ├── ToUpperCase
│ │ │ └── testbar
│ │ └── tools
│ │ │ ├── Comment-Selection
│ │ │ ├── Create-C-Files
│ │ │ ├── Diff-Files
│ │ │ ├── Find-API
│ │ │ ├── Make-Executable
│ │ │ ├── Open-Folder-Here
│ │ │ ├── Run-As-Root-Script
│ │ │ ├── Run-As-Script
│ │ │ ├── Test-Bar
│ │ │ ├── To-Lower-Case
│ │ │ └── To-Upper-Case
│ ├── docs
│ │ ├── Doxyfile
│ │ └── gpl-3.0.txt
│ ├── goodies
│ │ ├── coloumns
│ │ ├── opendevkkedit
│ │ ├── opensession
│ │ ├── printpaths
│ │ └── testscript
│ ├── help
│ ├── man
│ │ ├── kkedit.1
│ │ └── kkeditmsg.1
│ ├── pixmaps
│ │ ├── BookMark.png
│ │ ├── KKEdit-3.png
│ │ ├── KKEdit.desktop
│ │ ├── KKEdit.png
│ │ ├── KKEditPlug-3.png
│ │ ├── KKEditPlug.png
│ │ ├── KKEditPlugMenu-3.png
│ │ ├── KKEditPlugMenu.png
│ │ ├── KKEditProject-3.png
│ │ ├── KKEditProject.png
│ │ ├── KKEditRoot-3.png
│ │ ├── KKEditRoot.desktop
│ │ ├── KKEditRoot.png
│ │ ├── ManPageEditor.png
│ │ ├── MenuKKEdit-3.png
│ │ ├── MenuKKEdit.png
│ │ ├── ROOTKKEdit-3.png
│ │ ├── ROOTKKEdit.png
│ │ ├── UserMark1.png
│ │ ├── UserMark2.png
│ │ ├── UserMark3.png
│ │ ├── UserMark4.png
│ │ ├── api.png
│ │ ├── back.png
│ │ ├── copy.png
│ │ ├── cut.png
│ │ ├── expand.png
│ │ ├── find.png
│ │ ├── finddef.png
│ │ ├── forward.png
│ │ ├── live.png
│ │ ├── new.png
│ │ ├── num.png
│ │ ├── open.png
│ │ ├── paste.png
│ │ ├── qtapi.png
│ │ ├── question.png
│ │ ├── redo.png
│ │ ├── save.png
│ │ ├── sep.png
│ │ └── undo.png
│ ├── scripts
│ │ └── OpenManPage
│ ├── src
│ │ ├── kkedit.mpz
│ │ └── kkeditmsg.mpz
│ ├── styles
│ │ ├── brownwood.xml
│ │ ├── rootsrc.xml
│ │ └── steel.xml
│ └── tools
│ │ ├── Open-Man-Page
│ │ ├── Open-Xterm-Here
│ │ └── Re-Open-As-Root
├── sources
├── src
│ ├── Doxyfile
│ ├── backclass.cpp
│ ├── backclass.h
│ ├── bookmarks.cpp
│ ├── bookmarks.h
│ ├── callbacks.cpp
│ ├── callbacks.h
│ ├── completion.cpp
│ ├── completion.h
│ ├── files.cpp
│ ├── files.h
│ ├── globals.cpp
│ ├── globals.h
│ ├── guis.cpp
│ ├── guis.h
│ ├── internet.cpp
│ ├── internet.h
│ ├── kkedit-includes.h
│ ├── kkedit-plugins.h
│ ├── main.cpp
│ ├── mainpage.dox
│ ├── navcallbacks.cpp
│ ├── navcallbacks.h
│ ├── pages.cpp
│ ├── pages.h
│ ├── pluginclass.cpp
│ ├── pluginclass.h
│ ├── plugins.cpp
│ ├── plugins.h
│ ├── scripting.cpp
│ ├── scripting.h
│ ├── searchcallbacks.cpp
│ ├── searchcallbacks.h
│ ├── sliceclass.cpp
│ ├── sliceclass.h
│ ├── spellcheck.cpp
│ ├── spellcheck.h
│ ├── textbuffer.cpp
│ └── textbuffer.h
└── unstable-plugins
│ ├── BrowserPlugin
│ ├── Makefile.am
│ ├── browserplugin.cpp
│ ├── exportmap
│ └── po
│ │ └── fr_FR
│ │ └── LC_MESSAGES
│ │ └── browserplugin.mo
│ ├── DebuggerPlugin
│ ├── Debugger.pot
│ ├── Debugger_fr_FR.po
│ ├── Makefile.am
│ ├── debugger.cpp
│ ├── exportmap
│ ├── finish.xcf
│ ├── makepo
│ ├── po
│ │ └── fr_FR
│ │ │ └── LC_MESSAGES
│ │ │ └── Debugger.mo
│ ├── resources
│ │ ├── backtrace.png
│ │ ├── breakpoint.png
│ │ ├── continue.png
│ │ ├── debug.png
│ │ ├── endloop.png
│ │ ├── exit.png
│ │ ├── finish.png
│ │ ├── interupt.png
│ │ ├── into.png
│ │ ├── next.png
│ │ ├── open.png
│ │ ├── outof.png
│ │ ├── query.png
│ │ ├── set.png
│ │ └── unset.png
│ └── tdata
│ ├── common.h
│ ├── config.h
│ └── kkedit-plugins.h
├── Makefile.am
├── NEWS
├── README
├── README.md
├── autogen.sh
├── compile
├── config.guess
├── config.sub
├── configure.ac
├── depcomp
├── docs
├── addtoolbutton.gif
├── autocomp1.gif
├── autocomp2.gif
├── background.gif
├── bookmark.gif
├── clickfile.gif
├── clickopen.gif
├── contextgoto.gif
├── countbar.gif
├── define.gif
├── docs.gif
├── docswitch.gif
├── dragtoolbutton.gif
├── editsrcclicked.gif
├── edswitch.gif
├── favicon.png
├── find.gif
├── findapifromtoolbar.gif
├── founddefine.gif
├── funclick.gif
├── functions.gif
├── gotoapi.gif
├── gotodefine.gif
├── gotofuncclick.gif
├── gotolinefromtoolbar.gif
├── gtksu.gif
├── help.en.html
├── help.fr.html
├── hexdump.gif
├── include.gif
├── index.html
├── keycuts.gif
├── list.gif
├── livesearch.gif
├── main.gif
├── newtool.gif
├── openinclude.gif
├── outview.gif
├── plugprefs.gif
├── popup.gif
├── prefs.gif
├── prefs2.gif
├── prefs3.gif
├── pulsebar.gif
├── quickopen.gif
├── removetoolitem.gif
├── selectapi.gif
├── selectedlist.gif
├── sourceclicked.gif
├── sourcehilite.gif
├── spellcheck.gif
├── spliscreen.gif
├── style.gif
├── tabmenu.gif
├── toolsmenu.gif
└── viewmenu.gif
├── install-sh
├── kkedit.pot
├── kkedit_fr_FR.po
├── makenagtime
├── makepo
├── missing
├── packages
└── debian
│ ├── control
│ ├── control-3
│ └── org.freedesktop.policykit.kkedit.policy
├── po
└── fr_FR
│ └── LC_MESSAGES
│ └── kkedit.mo
├── remakesourcelist
└── screenshots
└── main.jpg
/.gitignore:
--------------------------------------------------------------------------------
1 | .svn
2 | artwork
3 | KKEdit.LFSBuild
4 | makepkg
5 | NAGTIME
6 | makenagtime
7 | KKEdit/src/html
8 | KKEdit/src/searchdata.xml
9 | translations/
10 | autom4te.cache
11 | KKEdit/unstable-plugins/DebuggerPlugin/rawdata
12 | *~
13 | .deps
14 | .dirstamp
15 | config.log
16 | config.status
17 | stamp-h1
18 | Makefile
19 | Makefile.in
20 | configure
21 | config.h
22 | TODO
23 | *.o
24 | *.so
25 | aclocal.m4
26 | config.h.in
27 |
28 | KKEdit/app/KKEditProgressBar
29 | KKEdit/app/kkedit
30 | KKEdit/app/kkeditmsg
31 |
--------------------------------------------------------------------------------
/AUTHORS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/AUTHORS
--------------------------------------------------------------------------------
/BUGS-ETC:
--------------------------------------------------------------------------------
1 | Email:
2 | kdhedger68713@gmail.com
3 |
4 | Reporting Bugs:
5 | Please report any bugs/problems to the above email, please do NOT post them on the various message boards where you may have obtained this software.
6 | If you are building from git and have a github account you can raise an issue on the github website.
7 |
8 | Please include the folowing info:
9 | What distro you are using and what version, NO code names, so XUbuntu 24.5 NOT XUbuntu wacky warthogs, for instance.
10 | What desktop you are using Gnome,Xfce, None etc.
11 | Are you using a prepackaged version of the software and if so what package manager are you using.
12 | Are you compiling from a source tarball or from the git repo.
13 | What configure options are you using.
14 | What make flags ( if any ) are you using.
15 | What version of the software are you building.
16 | How to recreate the error.
17 | Have you checked that you have all the needed dependencies and dev files installed.
18 |
19 | Bugs reported on the message boards etc rather than via email WILL be ignored, unless you have a compelling reason not to use email.
20 |
21 | UI Problems:
22 | UI problems include stuff like wrong/no translations, so also let me know what language you are using and the output of the 'locale' command, a screen shot would also be helpful for visual problems.
23 |
24 | Suggestions, feature requests etc:
25 | I am always happy to look at adding new features, though not all feature requests are suitable or feasable I WILL honestly consider any reasonable request.
26 |
27 | Donations:
28 | If you want to donate money to any of my projects please use paypal and the email:
29 | kdhedger68713@gmail.com
30 |
--------------------------------------------------------------------------------
/Doxyfile:
--------------------------------------------------------------------------------
1 | DOXYFILE_ENCODING=UTF-8
2 | PROJECT_NAME="My Project"
3 | OUTPUT_DIRECTORY=
4 | CREATE_SUBDIRS=NO
5 | ALLOW_UNICODE_NAMES=NO
6 | OUTPUT_LANGUAGE=English
7 | BRIEF_MEMBER_DESC=NO
8 | REPEAT_BRIEF=NO
9 | ALWAYS_DETAILED_SEC=NO
10 | INLINE_INHERITED_MEMB=NO
11 | FULL_PATH_NAMES=YES
12 | SHORT_NAMES=NO
13 | JAVADOC_AUTOBRIEF=NO
14 | QT_AUTOBRIEF=NO
15 | MULTILINE_CPP_IS_BRIEF=NO
16 | INHERIT_DOCS=NO
17 | SEPARATE_MEMBER_PAGES=NO
18 | TAB_SIZE=4
19 | OPTIMIZE_OUTPUT_FOR_C=NO
20 | OPTIMIZE_OUTPUT_JAVA=NO
21 | OPTIMIZE_FOR_FORTRAN=NO
22 | OPTIMIZE_OUTPUT_VHDL=NO
23 | MARKDOWN_SUPPORT=NO
24 | AUTOLINK_SUPPORT=NO
25 | BUILTIN_STL_SUPPORT=NO
26 | CPP_CLI_SUPPORT=NO
27 | SIP_SUPPORT=NO
28 | IDL_PROPERTY_SUPPORT=NO
29 | DISTRIBUTE_GROUP_DOC=NO
30 | SUBGROUPING=NO
31 | INLINE_GROUPED_CLASSES=NO
32 | INLINE_SIMPLE_STRUCTS=NO
33 | TYPEDEF_HIDES_STRUCT=NO
34 | LOOKUP_CACHE_SIZE=0
35 | EXTRACT_ALL=YES
36 | EXTRACT_PRIVATE=YES
37 | EXTRACT_PACKAGE=YES
38 | EXTRACT_STATIC=YES
39 | EXTRACT_LOCAL_CLASSES=YES
40 | EXTRACT_LOCAL_METHODS=YES
41 | EXTRACT_ANON_NSPACES=YES
42 | HIDE_UNDOC_MEMBERS=NO
43 | HIDE_UNDOC_CLASSES=NO
44 | HIDE_FRIEND_COMPOUNDS=NO
45 | HIDE_IN_BODY_DOCS=NO
46 | INTERNAL_DOCS=NO
47 | CASE_SENSE_NAMES=NO
48 | HIDE_SCOPE_NAMES=NO
49 | SHOW_INCLUDE_FILES=NO
50 | SHOW_GROUPED_MEMB_INC=NO
51 | FORCE_LOCAL_INCLUDES=NO
52 | INLINE_INFO=NO
53 | SORT_MEMBER_DOCS=NO
54 | SORT_BRIEF_DOCS=NO
55 | SORT_MEMBERS_CTORS_1ST = NO
56 | SORT_GROUP_NAMES=NO
57 | SORT_BY_SCOPE_NAME=NO
58 | STRICT_PROTO_MATCHING=NO
59 | GENERATE_TODOLIST=NO
60 | GENERATE_TESTLIST=NO
61 | GENERATE_BUGLIST=NO
62 | GENERATE_DEPRECATEDLIST=NO
63 | MAX_INITIALIZER_LINES=30
64 | SHOW_USED_FILES=NO
65 | SHOW_FILES=YES
66 | SHOW_NAMESPACES=YES
67 | QUIET=NO
68 | WARNINGS=NO
69 | WARN_IF_UNDOCUMENTED=NO
70 | WARN_IF_DOC_ERROR=NO
71 | WARN_NO_PARAMDOC=NO
72 | WARN_FORMAT="$file:$line: $text"
73 | INPUT_ENCODING=UTF-8
74 | RECURSIVE=NO
75 | EXCLUDE_SYMLINKS=NO
76 | EXAMPLE_RECURSIVE=NO
77 | FILTER_SOURCE_FILES=NO
78 | SOURCE_BROWSER=YES
79 | INLINE_SOURCES=NO
80 | STRIP_CODE_COMMENTS=YES
81 | REFERENCED_BY_RELATION=YES
82 | REFERENCES_RELATION=YES
83 | REFERENCES_LINK_SOURCE=NO
84 | SOURCE_TOOLTIPS=YES
85 | USE_HTAGS=NO
86 | VERBATIM_HEADERS=NO
87 | ALPHABETICAL_INDEX=NO
88 | COLS_IN_ALPHA_INDEX=5
89 | GENERATE_HTML=YES
90 | HTML_OUTPUT=html
91 | HTML_FILE_EXTENSION=.html
92 | HTML_FOOTER=""
93 | HTML_COLORSTYLE_HUE=220
94 | HTML_COLORSTYLE_SAT=100
95 | HTML_COLORSTYLE_GAMMA=80
96 | HTML_TIMESTAMP=NO
97 | HTML_DYNAMIC_SECTIONS=NO
98 | HTML_INDEX_NUM_ENTRIES=100
99 | GENERATE_DOCSET=NO
100 | GENERATE_HTMLHELP=NO
101 | GENERATE_CHI=NO
102 | BINARY_TOC=NO
103 | TOC_EXPAND=NO
104 | GENERATE_QHP=NO
105 | GENERATE_ECLIPSEHELP=NO
106 | DISABLE_INDEX=NO
107 | GENERATE_TREEVIEW=NO
108 | ENUM_VALUES_PER_LINE=4
109 | TREEVIEW_WIDTH=250
110 | EXT_LINKS_IN_WINDOW=NO
111 | FORMULA_FONTSIZE=10
112 | FORMULA_TRANSPARENT=YES
113 | USE_MATHJAX=NO
114 | SEARCHENGINE=YES
115 | SERVER_BASED_SEARCH=NO
116 | EXTERNAL_SEARCH=NO
117 | SEARCHDATA_FILE=searchdata.xml
118 | GENERATE_LATEX=NO
119 | GENERATE_RTF=NO
120 | GENERATE_MAN=NO
121 | GENERATE_XML=NO
122 | GENERATE_DOCBOOK=NO
123 | GENERATE_AUTOGEN_DEF=NO
124 | GENERATE_PERLMOD=NO
125 | ENABLE_PREPROCESSING=NO
126 | MACRO_EXPANSION=NO
127 | EXPAND_ONLY_PREDEF=NO
128 | SEARCH_INCLUDES=NO
129 | SKIP_FUNCTION_MACROS=YES
130 | ALLEXTERNALS=NO
131 | EXTERNAL_GROUPS=YES
132 | EXTERNAL_PAGES=YES
133 | PERL_PATH=/usr/bin/perl
134 | CLASS_DIAGRAMS=YES
135 | HIDE_UNDOC_RELATIONS=YES
136 | HAVE_DOT=YES
137 | DOT_NUM_THREADS=0
138 | DOT_FONTNAME=Helvetica
139 | DOT_FONTSIZE=10
140 | CLASS_GRAPH=YES
141 | COLLABORATION_GRAPH=YES
142 | GROUP_GRAPHS=YES
143 | UML_LOOK=NO
144 | UML_LIMIT_NUM_FIELDS=10
145 | TEMPLATE_RELATIONS=NO
146 | INCLUDE_GRAPH=YES
147 | INCLUDED_BY_GRAPH=YES
148 | CALL_GRAPH=YES
149 | CALLER_GRAPH=YES
150 | GRAPHICAL_HIERARCHY=YES
151 | DIRECTORY_GRAPH=YES
152 | DOT_IMAGE_FORMAT=svg
153 | INTERACTIVE_SVG=YES
154 | DOT_GRAPH_MAX_NODES=50
155 | MAX_DOT_GRAPH_DEPTH=0
156 | DOT_TRANSPARENT=YES
157 | DOT_MULTI_TARGETS=YES
158 | GENERATE_LEGEND=YES
159 | DOT_CLEANUP=YES
--------------------------------------------------------------------------------
/INSTALL:
--------------------------------------------------------------------------------
1 | KKEdit Installation Instructions.
2 |
3 | Optional installs:
4 | These apps/libs are not necessary but are recommended.
5 | webkit 1.6.1
6 | aspell
7 | gktsu
8 |
9 | Although webkit is an optional install for the internal docviewer which is enabled by default, if you don't wish to build the docviewer you MUST explicitly disable it using the option '--disable-docviewer' to configure otherwise the configure script will fail.
10 |
11 | Source based distros (slackware etc):
12 | ./autogen.sh --prefix=/usr --enable-aspell
13 | make
14 | sudo make install --prefix=/usr
15 |
16 | Or if you have autotools installed:
17 | ./autogen.sh
18 | make
19 | sudo make install --enable-aspell
20 |
21 | Add --prefix=/usr etc to change the default installation from /usr/local
22 | Add --enable-docviewer if you have installed webkit and want the help/api/manpage files displayed in the doc viewer (default).
23 | Add --enable-aspell if you have installed Aspell and want to include the spell checker (default is NOT to use spellchecker).
24 |
25 | ******************
26 |
27 | Debian install gtk2.
28 |
29 | sudo apt-get update
30 | sudo apt-get install build-essential
31 | sudo apt-get install libglib2.0-dev libgtk2.0-dev
32 | sudo apt-get install libgtksourceview2.0-dev
33 | sudo apt-get install exuberant-ctags
34 | sudo apt-get install libvte-dev
35 |
36 | Optional installs:
37 | sudo apt-get install aspell aspell-en libaspell-dev
38 | sudo apt-get install libwebkitgtk-dev
39 | sudo apt-get install man2html-base
40 | sudo apt-get install xterm
41 |
42 | aspell-en is the english dictionary change to suit your needs.
43 |
44 | Debian install gtk3.
45 |
46 | sudo apt-get update
47 | sudo apt-get install build-essential
48 | sudo apt-get install libglib2.0-dev libgtk-3-dev
49 | sudo apt-get install libgtksourceview-3.0-dev
50 | sudo apt-get install exuberant-ctags
51 | sudo apt-get install libvte-2.91-dev or sudo apt-get install libvte-2.90-dev
52 |
53 | Optional installs:
54 | sudo apt-get install aspell aspell-en libaspell-dev
55 | sudo apt-get install libwebkitgtk-3.0-dev
56 | sudo apt-get install man2html-base
57 | sudo apt-get install xterm
58 |
59 | ./autogen.sh --prefix=/usr
60 | make
61 | sudo make install
62 |
63 | Debian install using autotools.
64 |
65 | The above +
66 | sudo apt-get install automake
67 | sudo apt-get install autotools-dev
68 | sudo apt-get install aclocal autoheader autoconf
69 |
70 | ./autogen.sh --prefix=/usr --enable-aspell
71 | make
72 | sudo make install
73 |
74 | Fedora Install GTK2
75 | sudo yum update kernel*
76 | sudo yum install gcc-c++ glib2-devel gtk2-devel gcc
77 | sudo yum install gtksourceview2-devel ctags webkitgtk-devel aspell-devel
78 |
79 | ******************
80 |
81 | Fedora Install using autotools.
82 | The above +
83 | sudo yum install automake autoconf
84 |
85 | ./autogen.sh --prefix=/usr --enable-aspell
86 | make
87 | sudo make install
88 |
89 | Fedora Install GTK3
90 | sudo yum update kernel*
91 | sudo yum install gcc-c++ glib2-devel gtk3-devel gcc
92 | sudo yum install gtksourceview3-devel ctags webkitgtk-devel aspell-devel
93 |
94 | ******************
95 |
96 | Fedora Install using autotools.
97 | The above +
98 | sudo yum install automake autoconf
99 |
100 | ./autogen.sh --prefix=/usr --enable-aspell
101 | make
102 | sudo make install
103 |
104 |
105 |
106 | ******************
107 |
108 | OpenSuse ( Leap 42.x ) gtk2.
109 |
110 | sudo zypper install make gcc gcc-c++
111 | sudo zypper install xorg-x11-devel ctags gtksourceview2-devel gtk2-devel vte2-devel
112 |
113 | Optional installs
114 | sudo zypper install aspell-devel aspell aspell-en
115 | sudo zypper install libwebkitgtk-devel
116 | sudo zypper install hxtools-scripts
117 |
118 | OpenSuse ( Leap 42.x ) gtk3.
119 |
120 | sudo zypper install make gcc gcc-c++
121 | sudo zypper install xorg-x11-devel ctags gtksourceview-devel gtk3-devel vte-devel
122 |
123 | Optional installs
124 | sudo zypper install aspell-devel aspell aspell-en
125 | sudo zypper install libwebkitgtk3-devel
126 | sudo zypper install hxtools-scripts
127 |
128 | ******************
129 |
130 | You may need to adjust package names slightly depending on the version of debian/fedora/opensuse that you have installed.
131 |
132 | Bugs and suggestions welcome please email to kdhedger68713@gmail.com
133 | For general info on compiling/installing software on your disro see the relevant forums.
134 |
--------------------------------------------------------------------------------
/KKEdit/app/Makefile.am:
--------------------------------------------------------------------------------
1 |
2 | AUTOMAKE_OPTIONS = subdir-objects
3 |
4 | include ../flagsandlibs
5 | include ../sources
6 |
7 | kkedit_SOURCES = $(COMMONSRC)
8 | KKEditProgressBar_SOURCES = ../pole/main.cpp
9 | kkeditmsg_SOURCES = ../kkeditmsg/main.cpp
10 |
11 | pixfilesdir = $(pkgdatadir)$(GTK3SUFFIX)/pixmaps
12 | pixfiles_DATA = ../resources/pixmaps/*
13 |
14 | helpfilesdir = $(pkgdatadir)$(GTK3SUFFIX)/help
15 | helpfiles_DATA = ../resources/help/*
16 |
17 | scriptfilesdir = $(pkgdatadir)$(GTK3SUFFIX)/scripts
18 | scriptfiles_SCRIPTS = ../resources/scripts/*
19 |
20 | docfilesdir = $(pkgdatadir)$(GTK3SUFFIX)/docs
21 | docfiles_DATA = ../resources/docs/*
22 |
23 | stylefilesdir = $(pkgdatadir)$(GTK3SUFFIX)/styles
24 | stylefiles_DATA = ../resources/styles/*
25 |
26 | toolsdir = $(pkgdatadir)$(GTK3SUFFIX)/tools
27 | tools_DATA = ../resources/tools/*
28 |
29 | goodiesdir = $(pkgdatadir)$(GTK3SUFFIX)/goodies
30 | goodies_DATA = ../resources/goodies/*
31 |
32 | man1_MANS = ../resources/man/*
33 |
34 | bin_PROGRAMS = kkedit KKEditProgressBar kkeditmsg
35 |
36 | install-exec-hook:
37 |
38 | mkdir -p $(DESTDIR)${prefix}/share/pixmaps
39 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditPlug$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/pixmaps/KKEditPlug$(GTK3SUFFIX).png
40 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditPlugMenu$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/pixmaps/KKEditPlugMenu$(GTK3SUFFIX).png
41 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEdit$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/pixmaps/KKEdit$(GTK3SUFFIX).png
42 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditRoot$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/pixmaps/KKEditRoot$(GTK3SUFFIX).png
43 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditProject$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/pixmaps/KKEditProject$(GTK3SUFFIX).png
44 |
45 | mkdir -vp $(DESTDIR)${prefix}/share/applications $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES $(DESTDIR)${includedir} ||true
46 | install ../resources/pixmaps/KKEdit.desktop $(DESTDIR)${prefix}/share/applications/KKEdit$(GTK3SUFFIX).desktop
47 | install ../resources/pixmaps/KKEditRoot.desktop $(DESTDIR)${prefix}/share/applications/KKEditRoot$(GTK3SUFFIX).desktop
48 |
49 | install ../../po/fr_FR/LC_MESSAGES/kkedit.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/kkedit$(GTK3SUFFIX).mo
50 | install -m 644 ../src/kkedit-plugins.h $(DESTDIR)${includedir}/kkedit-plugins$(GTK3SUFFIX).h
51 |
52 | echo "Icon=KKEditRoot$(GTK3SUFFIX)" >> $(DESTDIR)${prefix}/share/applications/KKEditRoot$(GTK3SUFFIX).desktop
53 | echo "Exec=${with_gsu_path} kkedit$(GTK3SUFFIX) -m %f" >> $(DESTDIR)${prefix}/share/applications/KKEditRoot$(GTK3SUFFIX).desktop
54 | echo "Icon=KKEdit$(GTK3SUFFIX)" >> $(DESTDIR)${prefix}/share/applications/KKEdit$(GTK3SUFFIX).desktop
55 | echo "Exec=kkedit$(GTK3SUFFIX) %f" >> $(DESTDIR)${prefix}/share/applications/KKEdit$(GTK3SUFFIX).desktop
56 |
57 | mkdir -p $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps
58 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEdit$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEdit$(GTK3SUFFIX).png
59 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditRoot$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEditRoot$(GTK3SUFFIX).png
60 | ln -sf ${pkgdatadir}$(GTK3SUFFIX)/pixmaps/KKEditPlug$(GTK3SUFFIX).png $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEditPlug$(GTK3SUFFIX).png
61 |
62 | mkdir -vp "$(DESTDIR)${pkgdatadir}$(GTK3SUFFIX)/Example External Tools"
63 | cp -r "../resources/Example External Tools" "$(DESTDIR)${pkgdatadir}$(GTK3SUFFIX)"
64 |
65 | install-data-hook:
66 | $(SEDCOMMAND) 's/kkedit/kkedit$(GTK3SUFFIX)/g' $(DESTDIR)${pkgdatadir}$(GTK3SUFFIX)/tools/*
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/KKEdit/flagsandlibs:
--------------------------------------------------------------------------------
1 |
2 | AM_CCFLAGS = -Wall -fvisibility=hidden
3 |
4 | AM_CPPFLAGS = -I$(top_srcdir) \
5 | $(GTK_CFLAGS) \
6 | $(X11_CFLAGS) \
7 | $(GTKSRC_CFLAGS) \
8 | $(WEBKIT_CFLAGS) \
9 | $(GLIB_CFLAGS) \
10 | -DGTK_DISABLE_SINGLE_INCLUDES \
11 | -DGDK_DISABLE_DEPRECATED \
12 | -DGTK_DISABLE_DEPRECATED \
13 | -DGSEAL_ENABLE \
14 | -DPREFIX=\""${prefix}\"" \
15 | -DLOCALEDIR=\""${localedir}"\" \
16 | -DDATADIR=\""${pkgdatadir}"\" \
17 | -DSYSCONFDIR=\""${sysconfdir}/${PACKAGE}"\" \
18 | -DLIBDIR=\""${libdir}/${PACKAGE}"\" \
19 | -DQT5DOCSDIR=\""${with_qt5_docdir}"\" \
20 | -DGTKSUPATH=\""${with_gsu_path}"\" \
21 | -D_DEBUGLEVEL_=${with_debug_level}
22 |
23 | LIBS = $(GTK_LIBS) \
24 | $(X11_LIBS) \
25 | $(GTKSRC_LIBS) \
26 | $(WEBKIT_LIBS) \
27 | $(GLIB_LIBS) \
28 | $(ASPELL_LIBS) \
29 | $(ICONV_LIBS)
30 |
31 |
--------------------------------------------------------------------------------
/KKEdit/kkeditmsg/main.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Wed 19 Oct 20:25:49 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (main.cpp) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #include
22 | #include
23 | #include
24 | #include
25 | #include
26 |
27 | #include "../../config.h"
28 |
29 | #define APPNAME "kkeditmsg"
30 | #define MSGVERSION "0.2.0"
31 |
32 | #define MAX_MSG_SIZE 4096
33 |
34 | #define ALLOK 0
35 | #define UNKNOWNARG 1
36 | #define NOMAKEQUEUE 2
37 | #define NOSENDMSG 3
38 | #define WAIT_MSG 0
39 |
40 | #define MSGANY 0
41 | #define MSGSEND 1
42 | #define MSGRECEIVE 2
43 |
44 | struct option long_options[] =
45 | {
46 | {"send",1,0,'s'},
47 | {"all",0,0,'a'},
48 | {"key",1,0,'k'},
49 | {"wait",0,0,'w'},
50 | {"wait-first",0,0,'W'},
51 | {"block",0,0,'b'},
52 | {"flush",0,0,'f'},
53 | {"activate",0,0,'A'},
54 | {"version",0,0,'v'},
55 | {"help",0,0,'?'},
56 | {0, 0, 0, 0}
57 | };
58 |
59 | struct msgBuffer
60 | {
61 | long mType;
62 | char mText[MAX_MSG_SIZE];
63 | };
64 |
65 | int queueID;
66 | msgBuffer buffer;
67 | bool action=false;
68 | int receiveType=IPC_NOWAIT;
69 | bool printAll=false;
70 | bool allDone=false;
71 | bool flushQueue=false;
72 | bool doActivateKKEdit=false;
73 | bool doRemove=false;
74 | bool waitFirst=false;
75 | int sinkReturn;
76 |
77 | const char *commandList[]={"Quit","GotoLine","SearchDef","SelectTab","SelectTabByPath","Bookmark","CloseTab","SetMark","UnsetMark","MoveTo","SelectBetween","Paste","Copy","Cut","InsertText","InsertNL","InsertFile","PrintFiles","WaitForKKEdit","ShowContinue","RunTool","RestoreSession","ActivateMenuNamed","ActivateMenuLabeled","SendPosData","SendSelectedText",NULL};
78 |
79 | void printHelp()
80 | {
81 | unsigned cnt=0;
82 | printf("Usage: %s [OPTION] [TEXT]\n"
83 | "A CLI application\n"
84 | " -s, --send Send message [TEXT] (defaults to receive)\n"
85 | " -r, --receive Print all messages in queue to stdout\n"
86 | " -f, --flush Flush message queue quietly\n"
87 | " -k, --key Use key [INTEGER] instead of generated one\n"
88 | " -w, --wait Wait for message's to arrive (blocking)\n"
89 | " -W, --wait-first Wait for first message to arrive (blocking) then continue\n"
90 | " -b, --block Wait for first message to arrive (blocking) then continue receved message is discarded\n"
91 | " -a, --activate Activate kkedit\n"
92 | " -R, --remove Remove Queue\n"
93 | " -v, --version output version information and exit\n"
94 | " -h, -?, --help print this help\n\n"
95 | "Report bugs to keithdhedger@gmail.com\n"
96 | ,APPNAME _EXECSUFFIX_);
97 |
98 | printf("\nCommands recognised by KKEdit:\n");
99 | while(commandList[cnt]!=NULL)
100 | {
101 | printf("%s ",commandList[cnt]);
102 | cnt++;
103 | }
104 | printf("\n");
105 | }
106 |
107 | void sendMsg()
108 | {
109 | buffer.mType=MSGSEND;
110 | if((msgsnd(queueID,&buffer,strlen(buffer.mText)+1,0))==-1)
111 | {
112 | fprintf(stderr,"Can't send message :(\n");
113 | exit(NOSENDMSG);
114 | }
115 | }
116 |
117 | void readMsg()
118 | {
119 | int retcode;
120 |
121 | retcode=msgrcv(queueID,&buffer,MAX_MSG_SIZE,MSGRECEIVE,receiveType);
122 |
123 | if(retcode>1)
124 | printf("%s",buffer.mText);
125 | else
126 | allDone=true;
127 | }
128 |
129 | void block(void)
130 | {
131 | int retcode;
132 |
133 | retcode=msgrcv(queueID,&buffer,MAX_MSG_SIZE,MSGRECEIVE,WAIT_MSG);
134 | }
135 |
136 | int main(int argc, char **argv)
137 | {
138 | int c;
139 | int key;
140 | int retcode;
141 | const char *gg="G";
142 | bool doblock=false;
143 |
144 | buffer.mType=MSGRECEIVE;
145 | buffer.mText[0]=0;
146 | key=0xdeadbeef;
147 |
148 | while (1)
149 | {
150 | int option_index = 0;
151 | c = getopt_long (argc, argv, "v?hdbwWfarRs:k:",long_options, &option_index);
152 | if (c == -1)
153 | break;
154 |
155 | switch (c)
156 | {
157 | case 's':
158 | strcpy(buffer.mText,optarg);
159 | sendMsg();
160 |
161 | action=true;
162 | break;
163 |
164 | case 'r':
165 | printAll=true;
166 | break;
167 |
168 | case 'f':
169 | flushQueue=true;
170 | break;
171 |
172 | case 'w':
173 | receiveType=WAIT_MSG;
174 | break;
175 |
176 | case 'W':
177 | waitFirst=true;
178 | break;
179 |
180 | case 'k':
181 | key=atoi(optarg);
182 | if((queueID=msgget(key,IPC_CREAT|0660))==-1)
183 | {
184 | fprintf(stderr,"Can't create message queue\n");
185 | exit(NOMAKEQUEUE);
186 | }
187 | break;
188 |
189 | case 'a':
190 | doActivateKKEdit=true;
191 | break;
192 |
193 | case 'R':
194 | doRemove=true;
195 | break;
196 |
197 | case 'b':
198 | doblock=true;
199 | break;
200 |
201 | case 'v':
202 | printf("kkeditmsg %s\n",MSGVERSION);
203 | return ALLOK;
204 | break;
205 |
206 | case '?':
207 | case 'h':
208 | printHelp();
209 | return ALLOK;
210 | break;
211 |
212 | default:
213 | fprintf(stderr,"?? Unknown argument ??\n");
214 | return UNKNOWNARG;
215 | break;
216 | }
217 | }
218 |
219 | if((queueID=msgget(key,IPC_CREAT|0660))==-1)
220 | {
221 | fprintf(stderr,"Can't create message queue\n");
222 | exit(NOMAKEQUEUE);
223 | }
224 |
225 | if (flushQueue==true)
226 | {
227 | allDone=false;
228 | while(allDone==false)
229 | {
230 | retcode=msgrcv(queueID,&buffer,MAX_MSG_SIZE,MSGANY,receiveType);
231 | if(retcode<=1)
232 | allDone=true;
233 | }
234 | return(ALLOK);
235 | }
236 |
237 | if(doActivateKKEdit==true)
238 | {
239 | char *com;
240 | sinkReturn=asprintf(&com,"kkedit" _EXECSUFFIX_ " -i %i",key);
241 | sinkReturn=system(com);
242 | free(com);
243 | }
244 |
245 | if(doblock==true)
246 | {
247 | block();
248 | return(ALLOK);
249 | }
250 |
251 | if (printAll==true)
252 | {
253 | if(waitFirst==true)
254 | {
255 | receiveType=WAIT_MSG;
256 | readMsg();
257 | receiveType=IPC_NOWAIT;
258 | }
259 | while(allDone==false)
260 | readMsg();
261 | return(ALLOK);
262 | }
263 |
264 | if(doRemove==true)
265 | {
266 | queueID=msgget(key,IPC_CREAT|0660);
267 | msgctl(queueID,IPC_RMID,NULL);
268 | }
269 |
270 |
271 | if(action==false)
272 | readMsg();
273 |
274 | return(ALLOK);
275 |
276 | }
277 |
278 |
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/ClipboardPlugin.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: ClipboardPlugin 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2017-03-30 16:58+0100\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: clipboardplugin.cpp:166
21 | msgid "C_lipboard"
22 | msgstr ""
23 |
24 | #: clipboardplugin.cpp:173
25 | #, c-format
26 | msgid "Clip Number. %i"
27 | msgstr ""
28 |
29 | #: clipboardplugin.cpp:200
30 | msgid "Clipboard Plugin - Add's multiple clips"
31 | msgstr ""
32 |
33 | #: clipboardplugin.cpp:201
34 | msgid "French Translation"
35 | msgstr ""
36 |
37 | #: clipboardplugin.cpp:206
38 | msgid "Clipboard Plugin"
39 | msgstr ""
40 |
41 | #: ../common.h:29
42 | msgid "Apply"
43 | msgstr ""
44 |
45 | #: ../common.h:30
46 | msgid "Cancel"
47 | msgstr ""
48 |
49 | #: ../common.h:31
50 | msgid "New"
51 | msgstr ""
52 |
53 | #: ../common.h:32
54 | msgid "Help"
55 | msgstr ""
56 |
57 | #: ../common.h:33
58 | msgid "Open"
59 | msgstr ""
60 |
61 | #: ../common.h:34
62 | msgid "Connect"
63 | msgstr ""
64 |
65 | #: ../common.h:35
66 | msgid "OK"
67 | msgstr ""
68 |
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/ClipboardPlugin_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/Clipboard/ClipboardPlugin_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = clipboard
2 | SONAME = lib$(PLUGNAME)
3 | SRCFILES = $(PLUGNAME).cpp
4 |
5 | AUTOMAKE_OPTIONS = subdir-objects
6 |
7 | all:
8 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o $(PLUGNAME).o
9 |
10 | gcc -nodefaultlibs -shared -Wl,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
11 |
12 | clean:
13 | rm -f *.o *.so||true
14 |
15 | distclean:
16 | rm -f *.o *.so Makefile||true
17 |
18 | install: all
19 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
20 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
21 | cp po/fr_FR/LC_MESSAGES/ClipboardPlugin.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/ClipboardPlugin$(GTK3SUFFIX).mo
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/clipboard.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Wed 20 Apr 17:13:14 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (clipboardplugin.cpp) is part of KKEdit.
6 |
7 | * plugins is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * plugins is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with plugins. If not, see .
19 | */
20 |
21 |
22 | #include
23 | #include
24 | #include
25 | #include
26 | #include
27 | #include
28 | #include
29 | #include
30 | #include
31 | #include
32 |
33 | #include "../config.h"
34 | #include "../common.h"
35 | #include "../kkedit-plugins.h"
36 |
37 | #define PLUGVERSION VERSION
38 | #define MAXCLIPS 10
39 | #define MAXCLIPMENULEN 43
40 | #define CLIPENDLEN 20
41 | #define CLIPENDLENSTR "20"
42 | #ifdef _USEGTK3_
43 | #define TEXTDOMAIN "ClipboardPlugin-3"
44 | #define ABOUTICON "KKEditPlug-3"
45 | #else
46 | #define TEXTDOMAIN "ClipboardPlugin"
47 | #define ABOUTICON "KKEditPlug"
48 | #endif
49 |
50 | struct clips
51 | {
52 | GtkWidget* menuItem;
53 | char* text;
54 | };
55 |
56 | GtkWidget* menuPlug;
57 | GtkClipboard* mainClipboard;
58 | int currentClip=-1;
59 | clips clip[MAXCLIPS];
60 | plugData* plugdata;
61 | gulong clipid;
62 | char* currentdomain=NULL;
63 | bool manual=false;
64 | int sinkInt;
65 |
66 | int (*module_plug_function)(gpointer globaldata);
67 |
68 | extern "C" const gchar* g_module_check_init(GModule *module)
69 | {
70 | currentdomain=strdup(textdomain(NULL));
71 | return(NULL);
72 | }
73 |
74 | void setTextDomain(bool plugdomain,plugData* pdata)
75 | {
76 | if(plugdomain==true)
77 | {
78 | //set domain to plug
79 | bindtextdomain(TEXTDOMAIN,LOCALEDIR);
80 | textdomain(TEXTDOMAIN);
81 | bind_textdomain_codeset(TEXTDOMAIN,"UTF-8");
82 | }
83 | else
84 | {
85 | //resetdomain
86 | bindtextdomain(currentdomain,pdata->locale);
87 | textdomain(currentdomain);
88 | bind_textdomain_codeset(currentdomain,"UTF-8");
89 | }
90 | }
91 |
92 | extern "C" void g_module_unload(GModule *module)
93 | {
94 | for(int j=0;j=MAXCLIPS)
107 | currentClip=0;
108 | }
109 |
110 | void clipChanged(GtkClipboard* clipboard,gpointer user_data)
111 | {
112 | char* texthold;
113 | char* label;
114 |
115 |
116 | if (manual==true)
117 | {
118 | manual=false;
119 | return;
120 | }
121 |
122 | if (gtk_clipboard_wait_is_text_available(mainClipboard)==true)
123 | {
124 | setCurrentClip();
125 | if(clip[currentClip].text != NULL)
126 | free(clip[currentClip].text);
127 | clip[currentClip].text=gtk_clipboard_wait_for_text(clipboard);
128 |
129 | texthold=g_strescape(clip[currentClip].text,NULL);
130 | texthold=g_strstrip(texthold);
131 |
132 | if(strlen(clip[currentClip].text)>MAXCLIPMENULEN)
133 | {
134 | sinkInt=asprintf(&label,"%." CLIPENDLENSTR "s...%s",texthold,(char*)&texthold[strlen(texthold)-CLIPENDLEN]);
135 | gtk_menu_item_set_label((GtkMenuItem*)clip[currentClip].menuItem,label);
136 | free(label);
137 | }
138 | else
139 | gtk_menu_item_set_label((GtkMenuItem*)clip[currentClip].menuItem,texthold);
140 |
141 | free(texthold);
142 | gtk_widget_show_all(menuPlug);
143 | }
144 | }
145 |
146 | void theCallBack(GtkWidget* widget,gpointer data)
147 | {
148 | int clipnum=(int)(long)data;
149 |
150 | if(clip[clipnum].text!=NULL)
151 | {
152 | manual=true;
153 | gtk_clipboard_set_text(mainClipboard,clip[clipnum].text,-1);
154 | }
155 | }
156 |
157 | extern "C" int addToGui(gpointer data)
158 | {
159 | GtkWidget* menu;
160 | char* command;
161 |
162 | plugdata=(plugData*)data;
163 | currentClip=-1;
164 | setTextDomain(true,plugdata);
165 |
166 | menuPlug=gtk_menu_item_new_with_label(gettext("C_lipboard"));
167 | gtk_menu_item_set_use_underline((GtkMenuItem*)menuPlug,true);
168 | menu=gtk_menu_new();
169 | gtk_menu_item_set_submenu(GTK_MENU_ITEM(menuPlug),menu);
170 |
171 | for(int j=0;jmlist.menuBar),menuPlug);
183 |
184 | mainClipboard=gtk_clipboard_get(GDK_SELECTION_CLIPBOARD);
185 | clipid=g_signal_connect(G_OBJECT(mainClipboard),"owner-change",G_CALLBACK(clipChanged),plugdata);
186 | setTextDomain(false,plugdata);
187 | return(0);
188 | }
189 |
190 | extern "C" int doAbout(gpointer data)
191 | {
192 | plugData *plugdata=(plugData*)data;
193 | char *licencepath;
194 | char *licence;
195 | GtkAboutDialog *about;
196 | char *translators;
197 |
198 | setTextDomain(true,plugdata);
199 |
200 | const char *aboutboxstring=gettext("Clipboard Plugin - Add's multiple clips");
201 | sinkInt=asprintf(&translators,"%s:\nNguyen Thanh Tung ",gettext("French Translation"));
202 | sinkInt=asprintf(&licencepath,"%s/docs/gpl-3.0.txt",plugdata->dataDir);
203 |
204 | g_file_get_contents(licencepath,&licence,NULL,NULL);
205 | about=(GtkAboutDialog*)gtk_about_dialog_new();
206 | gtk_about_dialog_set_program_name(about,gettext("Clipboard Plugin"));
207 | gtk_about_dialog_set_authors(about,authors);
208 | gtk_about_dialog_set_comments(about,aboutboxstring);
209 | gtk_about_dialog_set_copyright(about,COPYRITE);
210 | gtk_about_dialog_set_version(about,PLUGVERSION);
211 | gtk_about_dialog_set_website(about,KKEDITPAGE);
212 | gtk_about_dialog_set_website_label(about,"KKEdit Homepage");
213 | gtk_about_dialog_set_logo_icon_name(about,ABOUTICON);
214 | gtk_about_dialog_set_license(about,licence);
215 | gtk_about_dialog_set_translator_credits(about,(const gchar*)translators);
216 | gtk_window_set_transient_for((GtkWindow*)about,(GtkWindow*)plugdata->prefsWindow);
217 |
218 | gtk_dialog_run(GTK_DIALOG(about));
219 | gtk_widget_destroy((GtkWidget*)about);
220 | free(licence);
221 | free(licencepath);
222 | free(translators);
223 | setTextDomain(false,plugdata);
224 | return(0);
225 | }
226 |
227 | extern "C" int enablePlug(gpointer data)
228 | {
229 | plugData* plugdata=(plugData*)data;
230 |
231 | if(plugdata->modData->unload==true)
232 | {
233 | gtk_widget_destroy(menuPlug);
234 | gtk_widget_show_all(plugdata->mlist.menuBar);
235 | }
236 | else
237 | {
238 | if(g_module_symbol(plugdata->modData->module,"addToGui",(gpointer*)&module_plug_function))
239 | module_plug_function(data);
240 | gtk_widget_show_all(plugdata->mlist.menuBar);
241 | }
242 | return(0);
243 | }
244 |
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | g_module_unload;
6 | g_module_check_init;
7 |
8 | local: *;
9 |
10 | };
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=ClipboardPlugin
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot clipboardplugin.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/plugins/Clipboard/po/fr_FR/LC_MESSAGES/ClipboardPlugin.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/Clipboard/po/fr_FR/LC_MESSAGES/ClipboardPlugin.mo
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/FileBrowser.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: FileBrowser 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2017-03-30 16:58+0100\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: filebrowser.cpp:138
21 | msgid "File Browser Plug In Prefs"
22 | msgstr ""
23 |
24 | #: filebrowser.cpp:142
25 | msgid "Show Invisible File/Folders"
26 | msgstr ""
27 |
28 | #: filebrowser.cpp:361 filebrowser.cpp:516
29 | msgid "Hide Browser"
30 | msgstr ""
31 |
32 | #: filebrowser.cpp:369
33 | msgid "Show Browser"
34 | msgstr ""
35 |
36 | #: filebrowser.cpp:483 filebrowser.cpp:496
37 | msgid "Open In Browser"
38 | msgstr ""
39 |
40 | #: filebrowser.cpp:582
41 | msgid "File Browser - Add's a simple file browser to the left pane"
42 | msgstr ""
43 |
44 | #: filebrowser.cpp:584
45 | msgid "French Translation"
46 | msgstr ""
47 |
48 | #: filebrowser.cpp:588
49 | msgid "FileBrowser"
50 | msgstr ""
51 |
52 | #: ../common.h:29
53 | msgid "Apply"
54 | msgstr ""
55 |
56 | #: ../common.h:30
57 | msgid "Cancel"
58 | msgstr ""
59 |
60 | #: ../common.h:31
61 | msgid "New"
62 | msgstr ""
63 |
64 | #: ../common.h:32
65 | msgid "Help"
66 | msgstr ""
67 |
68 | #: ../common.h:33
69 | msgid "Open"
70 | msgstr ""
71 |
72 | #: ../common.h:34
73 | msgid "Connect"
74 | msgstr ""
75 |
76 | #: ../common.h:35
77 | msgid "OK"
78 | msgstr ""
79 |
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/FileBrowser_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/FileBrowser/FileBrowser_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = filebrowser
2 | SONAME = lib$(PLUGNAME)
3 | SRCFILES = $(PLUGNAME).cpp
4 |
5 | AUTOMAKE_OPTIONS = subdir-objects
6 |
7 | all:
8 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o $(PLUGNAME).o
9 |
10 | gcc -nodefaultlibs -shared -Wl,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
11 |
12 | clean:
13 | rm -f *.o *.so||true
14 |
15 | distclean:
16 | rm -f *.o *.so Makefile||true
17 |
18 | install: all
19 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
20 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
21 | cp po/fr_FR/LC_MESSAGES/FileBrowser.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/FileBrowser$(GTK3SUFFIX).mo
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | setSensitive;
6 | switchTab;
7 | plugPrefs;
8 | addToTab;
9 | addToContext;
10 | doTabMenu;
11 | g_module_check_init;
12 |
13 | local: *;
14 |
15 | };
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=FileBrowser
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot filebrowser.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/plugins/FileBrowser/po/fr_FR/LC_MESSAGES/FileBrowser.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/FileBrowser/po/fr_FR/LC_MESSAGES/FileBrowser.mo
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = sessionmanager
2 | SONAME = lib$(PLUGNAME)
3 | SRCFILES = $(PLUGNAME).cpp
4 |
5 | AUTOMAKE_OPTIONS = subdir-objects
6 |
7 | all:
8 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o $(PLUGNAME).o
9 |
10 | gcc -nodefaultlibs -shared -Wl,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
11 |
12 | clean:
13 | rm -f *.o *.so||true
14 |
15 | distclean:
16 | rm -f *.o *.so Makefile||true
17 |
18 | install: all
19 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
20 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
21 | cp po/fr_FR/LC_MESSAGES/SessionManager.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/SessionManager$(GTK3SUFFIX).mo
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/SessionManager.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: SessionManager 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2017-03-30 16:59+0100\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: sessionmanager.cpp:153 sessionmanager.cpp:335
21 | msgid "Session Manager"
22 | msgstr ""
23 |
24 | #: sessionmanager.cpp:161
25 | msgid "Session Name"
26 | msgstr ""
27 |
28 | #: sessionmanager.cpp:267
29 | #, c-format
30 | msgid "Session %i"
31 | msgstr ""
32 |
33 | #: sessionmanager.cpp:329
34 | msgid "Session Manager - Adds multiple named sessions to KKEdit"
35 | msgstr ""
36 |
37 | #: sessionmanager.cpp:331
38 | msgid "French Translation"
39 | msgstr ""
40 |
41 | #: ../common.h:29
42 | msgid "Apply"
43 | msgstr ""
44 |
45 | #: ../common.h:30
46 | msgid "Cancel"
47 | msgstr ""
48 |
49 | #: ../common.h:31
50 | msgid "New"
51 | msgstr ""
52 |
53 | #: ../common.h:32
54 | msgid "Help"
55 | msgstr ""
56 |
57 | #: ../common.h:33
58 | msgid "Open"
59 | msgstr ""
60 |
61 | #: ../common.h:34
62 | msgid "Connect"
63 | msgstr ""
64 |
65 | #: ../common.h:35
66 | msgid "OK"
67 | msgstr ""
68 |
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/SessionManager_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/SessionManager/SessionManager_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | loadPage;
5 | enablePlug;
6 | plugPrefs;
7 | g_module_unload;
8 | g_module_check_init;
9 |
10 | local: *;
11 |
12 | };
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=SessionManager
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot sessionmanager.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/plugins/SessionManager/po/fr_FR/LC_MESSAGES/SessionManager.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/SessionManager/po/fr_FR/LC_MESSAGES/SessionManager.mo
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = symbolmenu
2 | SONAME = lib$(PLUGNAME)
3 | SRCFILES = $(PLUGNAME).cpp
4 |
5 | AUTOMAKE_OPTIONS = subdir-objects
6 |
7 | all:
8 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o $(PLUGNAME).o
9 |
10 | gcc -nodefaultlibs -shared -Wl,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
11 |
12 | clean: distclean
13 |
14 | distclean:
15 | rm -f *.o *.so Makefile||true
16 |
17 | install: all
18 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
19 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
20 | cp po/fr_FR/LC_MESSAGES/SymbolMenuPlugin.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
21 | cp indicator-chars.txt $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
22 | chmod 644 $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk/indicator-chars.txt
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/SymbolMenuPlugin.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: SymbolMenuPlugin 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2017-03-30 16:59+0100\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: symbolmenuplugin.cpp:191
21 | msgid "Symbol Menu Plugin - Copy symbols to clipboard"
22 | msgstr ""
23 |
24 | #: symbolmenuplugin.cpp:192
25 | msgid "French Translation"
26 | msgstr ""
27 |
28 | #: symbolmenuplugin.cpp:197
29 | msgid "Symbol Menu Plugin"
30 | msgstr ""
31 |
32 | #: ../common.h:29
33 | msgid "Apply"
34 | msgstr ""
35 |
36 | #: ../common.h:30
37 | msgid "Cancel"
38 | msgstr ""
39 |
40 | #: ../common.h:31
41 | msgid "New"
42 | msgstr ""
43 |
44 | #: ../common.h:32
45 | msgid "Help"
46 | msgstr ""
47 |
48 | #: ../common.h:33
49 | msgid "Open"
50 | msgstr ""
51 |
52 | #: ../common.h:34
53 | msgid "Connect"
54 | msgstr ""
55 |
56 | #: ../common.h:35
57 | msgid "OK"
58 | msgstr ""
59 |
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/SymbolMenuPlugin_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/SymbolMenu/SymbolMenuPlugin_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | g_module_unload;
6 | g_module_check_init;
7 |
8 | local: *;
9 |
10 | };
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/indicator-chars.txt:
--------------------------------------------------------------------------------
1 | [Accents+Punctuation]´`¨ˆ¸!¡‼¿…
2 | [Arrows]←→↑↓↔↕↨↗↘↳↵⇐⇒⇔⇤⇥⇦⇧⇨⇩
3 | [Emoticons 1]☻☺☹😀😁😂😃😄😅😆😇😈😉😊😋😌😍😎😏😐😑😒😓😔😕😖😗😘😙😚
4 | [Emoticons 2]😛😜😝😞😟😠😡😢😣😥😦😧😨😩😪😫😭😮😯😰😱😲😳😴😵😶😷
5 | [Lines Single]—─¯¦|│∟⌐¬┌┬┐├┼┤└┴┘┤Γ
6 | [Lines Double]╡╢╖╕╣║╗╝╜╛╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪
7 | [Marks]©℗®℠™¤¢$£¥₧€℅№†‡§¶
8 | [Math]÷×±≠<≤≥>√~≈≃‰‱∞ⁿº#0⅛¼⅜½⅝¾⅞¹²³
9 | [Numbering]➊➋➌➍➎➏➐➑➒➓①②③④⑤⑥⑦⑧⑨⑩
10 | [Quotes]'‘’“”‹›«»
11 | [Science]℃℉°µøØƒΩßαΔδεΘπΣτΦφΨΩ℮∂∆∏∑∩≡⌠⌡⊕⊖⊗⊘⊙
12 | [Shapes]►◄▲▼△▽░▒▓█▌▐■▄▀▬
13 | [Symbols 1]✓✔☑✗✘✕✖☓☒☐•●○❍◯◎☉▢❏❑□◘◙◆◇✦★☆✮✯✰
14 | [Symbols 2]☞☜☝☟☚☛✂✄☎✆✉✍✎✏✐✑✒⌨☮☯♡❤✽✾✿❀❁❃❇❈❅❄❆
15 | [Symbols 3]☼☀☁☂☃☄♂♀♪♫♩♬♭♮♯♥♠♣♦·⚓�
16 | [↓ Accented Letters ↓]
17 | [A]áÁàÀâÂåÅäÄãêæÆ
18 | [C+D+E]çÇðÐéÉèÈêÊëË
19 | [G+I+N]ğĞíÍìÌîÎïÏıİñÑ
20 | [O+S]óÓòÒôÔöÖõÕœŒšŠşŞþÞ
21 | [U+Y+Z]úÚùÙûÛüÜýÝÿŸžŽ
22 |
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=SymbolMenuPlugin
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot symbolmenuplugin.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/plugins/SymbolMenu/po/fr_FR/LC_MESSAGES/SymbolMenuPlugin.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/SymbolMenu/po/fr_FR/LC_MESSAGES/SymbolMenuPlugin.mo
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/Makefile.am:
--------------------------------------------------------------------------------
1 |
2 | AUTOMAKE_OPTIONS = subdir-objects
3 |
4 | all:
5 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c terminalpane.cpp `pkg-config --cflags --libs vte$(VTEVERS)` $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) $(USE290) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o terminalpane.o
6 |
7 | gcc -shared -Wl,--version-script=exportmap,-soname,libterminalpane.so -o libterminalpane.so terminalpane.o -lc `pkg-config --libs vte${VTEVERS}`
8 |
9 |
10 | clean:
11 | rm -f *.o *.so||true
12 |
13 | distclean:
14 | rm -f *.o *.so Makefile||true
15 |
16 | install: all
17 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
18 | cp libterminalpane.so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
19 | cp po/fr_FR/LC_MESSAGES/TerminalPane.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/TerminalPane$(GTK3SUFFIX).mo
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/TerminalPane.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: TerminalPane 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2017-03-30 17:00+0100\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: terminalpane.cpp:138 terminalpane.cpp:236 terminalpane.cpp:272
21 | msgid "Hide Terminal"
22 | msgstr ""
23 |
24 | #: terminalpane.cpp:146
25 | msgid "Show Terminal"
26 | msgstr ""
27 |
28 | #: terminalpane.cpp:240
29 | msgid "CD To Page"
30 | msgstr ""
31 |
32 | #: terminalpane.cpp:244
33 | msgid "Copy"
34 | msgstr ""
35 |
36 | #: terminalpane.cpp:248
37 | msgid "Paste"
38 | msgstr ""
39 |
40 | #: terminalpane.cpp:252
41 | msgid "Select All"
42 | msgstr ""
43 |
44 | #: terminalpane.cpp:360 terminalpane.cpp:433
45 | msgid "Terminal Pane"
46 | msgstr ""
47 |
48 | #: terminalpane.cpp:370
49 | msgid "Foreground Colour"
50 | msgstr ""
51 |
52 | #: terminalpane.cpp:372
53 | msgid "Background Colour"
54 | msgstr ""
55 |
56 | #: terminalpane.cpp:427
57 | msgid "A Simple Terminal Pane For KKEdit"
58 | msgstr ""
59 |
60 | #: terminalpane.cpp:429
61 | msgid "French Translation"
62 | msgstr ""
63 |
64 | #: ../common.h:29
65 | msgid "Apply"
66 | msgstr ""
67 |
68 | #: ../common.h:30
69 | msgid "Cancel"
70 | msgstr ""
71 |
72 | #: ../common.h:31
73 | msgid "New"
74 | msgstr ""
75 |
76 | #: ../common.h:32
77 | msgid "Help"
78 | msgstr ""
79 |
80 | #: ../common.h:33
81 | msgid "Open"
82 | msgstr ""
83 |
84 | #: ../common.h:34
85 | msgid "Connect"
86 | msgstr ""
87 |
88 | #: ../common.h:35
89 | msgid "OK"
90 | msgstr ""
91 |
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/TerminalPane_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/TerminalPane/TerminalPane_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | plugPrefs;
6 | g_module_unload;
7 | g_module_check_init;
8 |
9 | local: *;
10 |
11 | };
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=TerminalPane
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot terminalpane.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/plugins/TerminalPane/po/fr_FR/LC_MESSAGES/TerminalPane.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/plugins/TerminalPane/po/fr_FR/LC_MESSAGES/TerminalPane.mo
--------------------------------------------------------------------------------
/KKEdit/plugins/common.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Mon 28 Mar 16:34:26 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (common.h) is part of KKEditPlugins.
6 |
7 | * Projects is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * Projects is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with Projects. If not, see .
19 | */
20 |
21 | //#include "../src/links.h"
22 |
23 | #include "../src/internet.h"
24 | #ifndef _COMMON_
25 | #define _COMMON_
26 |
27 | #ifdef _USEGTK3_
28 |
29 | #define GTK_STOCK_APPLY gettext("Apply")
30 | #define GTK_STOCK_CANCEL gettext("Cancel")
31 | #define GTK_STOCK_NEW gettext("New")
32 | #define GTK_STOCK_HELP gettext("Help")
33 | #define GTK_STOCK_OPEN gettext("Open")
34 | #define GTK_STOCK_CONNECT gettext("Connect")
35 | #define GTK_STOCK_OK gettext("OK")
36 |
37 | #define GDK_C GDK_KEY_C
38 | #define GDK_V GDK_KEY_V
39 |
40 | #endif
41 |
42 | #ifndef _ENUMS_
43 | #define _ENUMS_
44 | enum {NEWVBOX=0,NEWHBOX};
45 | #endif
46 |
47 | GtkWidget* createNewBox(int orient,bool homog,int spacing)
48 | {
49 | GtkWidget *retwidg=NULL;
50 |
51 | #ifdef _USEGTK3_
52 | if(orient==NEWVBOX)
53 | retwidg=gtk_box_new(GTK_ORIENTATION_VERTICAL,spacing);
54 | else
55 | retwidg=gtk_box_new(GTK_ORIENTATION_HORIZONTAL,spacing);
56 | gtk_box_set_homogeneous((GtkBox*)retwidg,homog);
57 | #else
58 | if(orient==NEWVBOX)
59 | retwidg=gtk_vbox_new(homog,spacing);
60 | else
61 | retwidg=gtk_hbox_new(homog,spacing);
62 | #endif
63 |
64 | return(retwidg);
65 | }
66 |
67 | GtkWidget* createNewStockMenuItem(const char* stock,const char* label)
68 | {
69 | GtkWidget* item;
70 |
71 | #ifdef _USEGTK3_
72 | item=gtk_menu_item_new_with_mnemonic(label);
73 | #else
74 | item=gtk_image_menu_item_new_from_stock(stock,NULL);
75 | #endif
76 |
77 | return(item);
78 | }
79 |
80 | GtkWidget* createNewImageMenuItem(const char* stock,const char* label)
81 | {
82 | GtkWidget *item;
83 |
84 | #ifdef _USEGTK3_
85 | item=gtk_menu_item_new_with_label(label);
86 | #else
87 | GtkWidget *image;
88 | item=gtk_image_menu_item_new_with_label(label);
89 | image=gtk_image_new_from_stock(stock,GTK_ICON_SIZE_MENU);
90 | gtk_image_menu_item_set_image((GtkImageMenuItem *)item,image);
91 | #endif
92 |
93 | return(item);
94 | }
95 |
96 | #endif
97 |
--------------------------------------------------------------------------------
/KKEdit/plugins/config.h:
--------------------------------------------------------------------------------
1 | ../../config.h
--------------------------------------------------------------------------------
/KKEdit/plugins/kkedit-plugins.h:
--------------------------------------------------------------------------------
1 | ../src/kkedit-plugins.h
--------------------------------------------------------------------------------
/KKEdit/pole/main.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * K.D.Hedger 2012
4 | *
5 | */
6 |
7 | #include
8 | #include
9 | #include
10 | #include
11 | #include
12 |
13 | #include "config.h"
14 | #include "../src/kkedit-includes.h"
15 |
16 | GtkWidget *progressWindow;
17 | GtkWidget *progressBar;
18 | GtkWidget *barInfo;
19 |
20 | bool doPulse=true;
21 | int percent;
22 | int holdPercent;
23 | char *path=NULL;
24 | int sinkReturn;
25 | char *sinkReturnStr;
26 |
27 | enum {QUIT,PULSE,PERCENT,INFO};
28 |
29 | GtkWidget* createNewBox(int orient,bool homog,int spacing)
30 | {
31 | GtkWidget *retwidg=NULL;
32 |
33 | #ifdef _USEGTK3_
34 | if(orient==NEWVBOX)
35 | retwidg=gtk_box_new(GTK_ORIENTATION_VERTICAL,spacing);
36 | else
37 | retwidg=gtk_box_new(GTK_ORIENTATION_HORIZONTAL,spacing);
38 | gtk_box_set_homogeneous((GtkBox*)retwidg,homog);
39 | #else
40 | if(orient==NEWVBOX)
41 | retwidg=gtk_vbox_new(homog,spacing);
42 | else
43 | retwidg=gtk_hbox_new(homog,spacing);
44 | #endif
45 |
46 | return(retwidg);
47 | }
48 |
49 | void shutDownPole(GtkWidget* widget,gpointer data)
50 | {
51 | gtk_main_quit();
52 | }
53 |
54 | void killBarberPole(void)
55 | {
56 | gtk_widget_destroy(progressWindow);
57 | progressBar=NULL;
58 | remove(path);
59 | shutDownPole(NULL,NULL);
60 | }
61 |
62 | gboolean idleScroll(gpointer data)
63 | {
64 | FILE* fp;
65 | char line[256];
66 | int dowhat=0;
67 | char* command;
68 | int perc;
69 |
70 | sinkReturn=asprintf(&command,"cat %s",(char*)data);
71 |
72 | fp=popen(command, "r");
73 | while(fgets(line,256,fp))
74 | {
75 | dowhat=PERCENT;
76 | if(strncasecmp(line,"quit",4)==0)
77 | dowhat=QUIT;
78 | if(strncasecmp(line,"pulse",5)==0)
79 | dowhat=PULSE;
80 | if(strncasecmp(line,"info",4)==0)
81 | {
82 | dowhat=INFO;
83 | sinkReturnStr=fgets(line,256,fp);
84 | if(strlen(line)>0)
85 | line[strlen(line)-1]=0;
86 | }
87 | }
88 | pclose(fp);
89 |
90 | gtk_main_iteration_do(false);
91 | if(progressBar!=NULL)
92 | {
93 | switch(dowhat)
94 | {
95 | case INFO:
96 | gtk_label_set_text((GtkLabel*)barInfo,line);
97 | if(doPulse==false)
98 | sprintf(line,"%i",holdPercent);
99 | break;
100 | case QUIT:
101 | killBarberPole();
102 | return(false);
103 | break;
104 | case PULSE:
105 | doPulse=true;
106 | break;
107 | default:
108 | doPulse=false;
109 | percent=atoi(line);
110 | break;
111 | }
112 | if(doPulse==true)
113 | gtk_progress_bar_pulse((GtkProgressBar*)progressBar);
114 | else
115 | {
116 | perc=(int)atof(line);
117 | holdPercent=perc;
118 | if(perc>100)
119 | gtk_progress_bar_set_fraction((GtkProgressBar*)progressBar,1.0);
120 | else if(perc<0)
121 | gtk_progress_bar_set_fraction((GtkProgressBar*)progressBar,0);
122 | else
123 | gtk_progress_bar_set_fraction((GtkProgressBar*)progressBar,(float)perc/100);
124 | }
125 | return(true);
126 | }
127 | else
128 | return(false);
129 | }
130 |
131 |
132 | void showBarberPole(const char* title,char* filepath)
133 | {
134 | GtkWidget* vbox;
135 |
136 | progressWindow=gtk_window_new(GTK_WINDOW_TOPLEVEL);
137 | gtk_widget_set_size_request(progressWindow,400,-1);
138 | gtk_window_set_type_hint((GtkWindow*)progressWindow,GDK_WINDOW_TYPE_HINT_NORMAL);
139 | gtk_window_set_title((GtkWindow*)progressWindow,title);
140 | vbox=createNewBox(NEWVBOX,false,0);
141 |
142 | barInfo=gtk_label_new(title);
143 | gtk_box_pack_start(GTK_BOX(vbox),barInfo,false,true,8);
144 | progressBar=gtk_progress_bar_new();
145 | gtk_progress_bar_set_fraction((GtkProgressBar*)progressBar,0);
146 |
147 | //TODO//
148 | #ifndef _USEGTK3_
149 | gtk_progress_bar_set_orientation((GtkProgressBar*)progressBar,GTK_PROGRESS_LEFT_TO_RIGHT);
150 | #endif
151 |
152 | gtk_box_pack_start(GTK_BOX(vbox),progressBar,false,false,8);
153 | gtk_container_add(GTK_CONTAINER(progressWindow),vbox);
154 |
155 | gtk_window_set_keep_above((GtkWindow*)progressWindow,true);
156 | gtk_window_set_deletable((GtkWindow*)progressWindow,false);
157 | gtk_window_set_resizable((GtkWindow*)progressWindow,false);
158 | gtk_window_set_skip_taskbar_hint((GtkWindow*)progressWindow,true);
159 | gtk_window_set_skip_pager_hint((GtkWindow*)progressWindow,true);
160 |
161 | gtk_widget_show_all(progressWindow);
162 | g_timeout_add(100,idleScroll,(void*)filepath);
163 | }
164 |
165 | /*
166 | argv[1]= window title
167 | argv[2]= control file
168 | argv[3]= initial state
169 |
170 | */
171 | int main(int argc,char **argv)
172 | {
173 | char* command;
174 | path=argv[2];
175 |
176 | doPulse=false;
177 | if(argc>3)
178 | sinkReturn=asprintf(&command,"/bin/echo \"%s\" > \"%s\"",argv[3],argv[2]);
179 | else
180 | sinkReturn=asprintf(&command,"/bin/echo 0 > \"%s\"",argv[2]);
181 | sinkReturn=system(command);
182 | free(command);
183 | gtk_init(&argc,&argv);
184 | showBarberPole(argv[1],argv[2]);
185 | gtk_main();
186 | }
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/README:
--------------------------------------------------------------------------------
1 |
2 | Place the tools and scripts folder in ~/.KKEdit
3 |
4 | These are example tools and are supplied 'as is' just for informational purposes.
5 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/DeleteComments:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Deletes all lines starting with a comment mark '#' in selection.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sed -e '/^\s*#/d'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/EncodingInfo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Shows file encoding, requires zenity or yad, always shows in popup and needs no selection.
9 | CHARSET="$(file -bi "$KKEDIT_CURRENTFILE"|awk -F "=" '{print $2}')"
10 | zenity --info title="File Encoding" --text="The encoding of this file is:\n"$CHARSET""
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/NumberLines:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Numbers the lines in the selection.
9 |
10 | echo -n "$KKEDIT_SELECTION" | sed '/^\s*$/d' | sed '=' | sed '{N;s/\n/\t/}'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/RemoveBlankLines:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Removes blank lines from selected text.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sed -e '/^\s*$/d'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/RemoveComments:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Deletes all lines in selection starting with a comment '#'
9 | #Renamed tool to "Delete Comments"
10 |
11 | echo -n "$KKEDIT_SELECTION"|sed -e '/^\s*#/d'
12 |
13 | #Original script:
14 | #echo -n "$KKEDIT_SELECTION"|sed -e '/^\s*#/d'
15 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/RemoveExtraSpaces:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Removes extraneous spaces from selection.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sed -e 's/\ / /g' -e 's/\s\s\s*/ /g' -e 's/\s\s*$//g' -e 's/^\s\s*//g'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/RemoveLineNumbers:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Removes line numbering in the selection.
9 |
10 | echo -n "$KKEDIT_SELECTION" | sed 's/^[0-9][0-9]*\t//g'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/Sort:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Sorts selection.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sort
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/SortUnique:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Sorts selection and removes duplicate lines.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sort -u
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/Statistics:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Adapted from Document Statistics tool in medit
4 | #Submitted by:
5 | #©Sadi Yumuşak
6 | #All comments and suggestions to the above.
7 | #Script and tools options may have been tweaked by me.
8 | #This script was combined with the 'File Encoding' script also submitted by Sadi.
9 | #
10 | #Shows document information, always shows in popup and needs no selection.
11 |
12 | bytes=$( wc -c "$KKEDIT_CURRENTFILE")
13 | chars=$( wc -m "$KKEDIT_CURRENTFILE")
14 | words=$( wc -w "$KKEDIT_CURRENTFILE")
15 | lines=$( wc -l "$KKEDIT_CURRENTFILE")
16 | lngst=$( wc -L "$KKEDIT_CURRENTFILE")
17 | CHARSET="$(file -bi "$KKEDIT_CURRENTFILE"|awk -F "=" '{print $2}')"
18 |
19 | echo
20 | echo "File size: ${bytes%% *}"
21 | echo "Characters: ${chars%% *}"
22 | echo "Words: ${words%% *}"
23 | echo "Lines: ${lines%% *}"
24 | echo "Longest Line: ${lngst%% *}"
25 | echo "File Encoding: $CHARSET"
26 | echo "Filepath: $KKEDIT_CURRENTFILE"
27 | echo
28 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/scripts/UnComment:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #Submitted by:
4 | #©Sadi Yumuşak
5 | #All comments and suggestions to the above.
6 | #Script and tools options may have been tweaked by me.
7 | #
8 | #Removes comment marks '#' from start of selected lines.
9 |
10 | echo -n "$KKEDIT_SELECTION"|sed -e 's/^\s*#\s*//g'
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Delete-Comments:
--------------------------------------------------------------------------------
1 | name Delete Comments
2 | command ../scripts/DeleteComments
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Encoding-Info:
--------------------------------------------------------------------------------
1 | name Encoding Info
2 | command ../scripts/EncodingInfo
3 | flags 8
4 | interm 0
5 | inpopup 0
6 | alwayspopup 1
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Number-Lines:
--------------------------------------------------------------------------------
1 | name Number Lines
2 | command ../scripts/NumberLines
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Remove-Blank-Lines:
--------------------------------------------------------------------------------
1 | name Remove Blank Lines
2 | command ../scripts/RemoveBlankLines
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Remove-Extra-Spaces:
--------------------------------------------------------------------------------
1 | name Remove Extra Spaces
2 | command ../scripts/RemoveExtraSpaces
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Remove-Line-Numbers:
--------------------------------------------------------------------------------
1 | name Remove Line Numbers
2 | command ../scripts/RemoveLineNumbers
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Sort:
--------------------------------------------------------------------------------
1 | name Sort
2 | command ../scripts/Sort
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Sort-Unique:
--------------------------------------------------------------------------------
1 | name Sort Unique
2 | command ../scripts/SortUnique
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/Statistics:
--------------------------------------------------------------------------------
1 | name Statistics
2 | command ../scripts/Statistics
3 | comment Show file statistics in output pane.
4 | flags 16
5 | interm 0
6 | inpopup 0
7 | alwayspopup 1
8 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/User Submitted Tools/tools/UnComment:
--------------------------------------------------------------------------------
1 | name UnComment
2 | command ../scripts/UnComment
3 | flags 1
4 | interm 0
5 | inpopup 1
6 | alwayspopup 0
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/CommentSelection:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Thu 5 Sep 13:39:19 BST 2013 kdhedger68713@gmail.com
4 |
5 | tfile=/tmp/data$$
6 | :>$tfile
7 | echo -n "${KKEDIT_SELECTION}" > $tfile
8 |
9 | case $KKEDIT_SOURCE_LANG in
10 | "sh" | "Python" | "Makefile" | ".desktop" | "Perl")
11 | COMMENTCHARS="#"
12 | COMMENTLEN=1
13 | if [ "X${KKEDIT_SELECTION:0:$COMMENTLEN}" = "X${COMMENTCHARS}" ];then
14 | sed -i "s/^${COMMENTCHARS}\(.*\)/\1/g" $tfile
15 | else
16 | sed -i "s/\(.*\)/${COMMENTCHARS}\1/g" $tfile
17 | fi
18 | ;;
19 |
20 | "C++" | "C" | "Objective-C" | "C/C++/ObjC Header" | "Java" | "Pascal")
21 | COMMENTCHARS='//'
22 | COMMENTLEN=2
23 | if [ "X${KKEDIT_SELECTION:0:$COMMENTLEN}" = "X${COMMENTCHARS}" ];then
24 | sed -i "s@^${COMMENTCHARS}\(.*\)@\1@g" $tfile
25 | else
26 | sed -i "s@\(.*\)@${COMMENTCHARS}\1@g" $tfile
27 | fi
28 | ;;
29 |
30 | "HTML")
31 | COMMENTCHARS='$/\1/g' $tfile
35 | else
36 | sed -i 's/\(.*\)//g' $tfile
37 | fi
38 | ;;
39 |
40 | *)
41 | echo -n "${KKEDIT_SELECTION}"
42 | exit 0
43 | ;;
44 | esac
45 |
46 | cat $tfile
47 | rm $tfile
48 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/CreateCFiles:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Sun 5 May 18:32:13 BST 2013 kdhedger68713@gmail.com
4 |
5 | BASE=$(yad --entry --entry-label="File Name:" --title="Select File Name")
6 |
7 | echo "/******************************************************" > "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
8 | echo "*" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
9 | echo "* ©$USER $(date)" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
10 | echo "* kdhedger68713@gmail.com" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
11 | echo "*" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
12 | echo "* ${BASE}.cpp" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
13 | echo "* " >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
14 | echo "******************************************************/" >> "${KKEDIT_CURRENTDIR}/${BASE}.cpp"
15 |
16 | echo "/******************************************************" > "${KKEDIT_CURRENTDIR}/${BASE}.h"
17 | echo "*" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
18 | echo "* ©$USER $(date)" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
19 | echo "* kdhedger68713@gmail.com" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
20 | echo "*" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
21 | echo "* ${BASE}.h" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
22 | echo "* " >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
23 | echo "******************************************************/" >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
24 |
25 | UPPERBASE=$(echo ${BASE}|tr [a-z] [A-Z])
26 | echo >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
27 | echo "#ifndef _${UPPERBASE}_">> "${KKEDIT_CURRENTDIR}/${BASE}.h"
28 | echo "#define _${UPPERBASE}_">> "${KKEDIT_CURRENTDIR}/${BASE}.h"
29 | echo >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
30 | echo >> "${KKEDIT_CURRENTDIR}/${BASE}.h"
31 |
32 | echo "#endif">> "${KKEDIT_CURRENTDIR}/${BASE}.h"
33 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/DiffFiles:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Tue 16 Jun 17:00:15 BST 2015 kdhedger68713@gmail.com
4 |
5 | echo -e $KKEDIT_FILE_LIST|tr ";" "\n"|yad --title="Diff" --width=600 --height=200 --list --multiple --quoted-output --separator= --column="File"|xargs diff
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/ToLowerCase:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Sun 19 May 11:47:41 BST 2013 kdhedger68713@gmail.com
4 |
5 | echo -n "$KKEDIT_SELECTION"|tr "A-Z" "a-z"
6 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/ToUpperCase:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Sun 19 May 11:47:41 BST 2013 kdhedger68713@gmail.com
4 |
5 | echo -n "$KKEDIT_SELECTION"|tr "a-z" "A-Z"
6 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/scripts/testbar:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #©keithhedger Tue 1 Jul 13:23:13 BST 2014 kdhedger68713@gmail.com
4 |
5 | echo "Counting up to 100 ..."
6 | for i in {1..100}
7 | do
8 | echo -e "INFO\nCounting up to 100 ... $i" >$KKEDIT_BAR_CONTROL
9 | sleep 0.1
10 | echo $i >$KKEDIT_BAR_CONTROL
11 | sleep 0.1
12 | done
13 |
14 | sleep 0.1
15 | echo "Pulse bar ..."
16 | echo -e "INFO\nPulsing bar ..." >$KKEDIT_BAR_CONTROL
17 | sleep 0.1
18 | echo pulse >$KKEDIT_BAR_CONTROL
19 | sleep 4
20 |
21 | echo "Counting down from 100 ..."
22 | for i in {100..0}
23 | do
24 | echo -e "INFO\nCounting down from 100 ... $i" >$KKEDIT_BAR_CONTROL
25 | sleep 0.1
26 | echo $i >$KKEDIT_BAR_CONTROL
27 | sleep 0.1
28 | done
29 |
30 | sleep 0.1
31 | echo "Pulse bar ..."
32 | echo -e "INFO\nPulsing bar ..." >$KKEDIT_BAR_CONTROL
33 | sleep 0.1
34 | echo pulse >$KKEDIT_BAR_CONTROL
35 | sleep 4
36 |
37 | echo "Done."
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Comment-Selection:
--------------------------------------------------------------------------------
1 | name Comment Selection
2 | command ../scripts/CommentSelection
3 | comment Comment/Uncomment lines in a c++ or sh file.
4 | flags 1
5 | interm 0
6 | inpopup 1
7 | alwayspopup 0
8 | clearview 0
9 | runasroot 0
10 | shortcutkey 35
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Create-C-Files:
--------------------------------------------------------------------------------
1 | name Create C Files
2 | command ../scripts/CreateCFiles
3 | flags 0
4 | interm 0
5 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Diff-Files:
--------------------------------------------------------------------------------
1 | name Diff Files
2 | command ../scripts/DiffFiles
3 | comment Diff two files
4 | interm 0
5 | flags 16
6 | inpopup 0
7 | alwayspopup 0
8 | clearview 1
9 | runasroot 0
10 | usebar 0
11 | shortcutkey 0
12 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Find-API:
--------------------------------------------------------------------------------
1 | name Find API
2 | command devhelp --search %t
3 | flags 8
4 | interm 0
5 | inpopup 1
6 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Make-Executable:
--------------------------------------------------------------------------------
1 | name Make Executable
2 | command chmod +x %f
3 | flags 0
4 | interm 0
5 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Open-Folder-Here:
--------------------------------------------------------------------------------
1 | name Open Folder Here
2 | command xdg-open %d
3 | flags 8
4 | interm 0
5 | inpopup 0
6 | alwayspopup 1
7 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Run-As-Root-Script:
--------------------------------------------------------------------------------
1 | name Run As Root Script
2 | command "%f"
3 | comment
4 | flags 16
5 | interm 0
6 | inpopup 0
7 | alwayspopup 0
8 | clearview 1
9 | runasroot 1
10 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Run-As-Script:
--------------------------------------------------------------------------------
1 | name Run As Script
2 | command "%f"
3 | comment
4 | flags 16
5 | interm 0
6 | inpopup 0
7 | alwayspopup 0
8 | clearview 1
9 | runasroot 0
10 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/Test-Bar:
--------------------------------------------------------------------------------
1 | name Test Bar
2 | command ../scripts/testbar
3 | comment Demo of how to use progressbar
4 | flags 16
5 | interm 0
6 | inpopup 0
7 | alwayspopup 0
8 | clearview 0
9 | runasroot 0
10 | usebar 1
11 | shortcutkey 0
12 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/To-Lower-Case:
--------------------------------------------------------------------------------
1 | name To Lower Case
2 | command ../scripts/ToLowerCase
3 | comment
4 | flags 1
5 | interm 0
6 | inpopup 1
7 | alwayspopup 0
8 | clearview 0
9 | runasroot 0
10 | shortcutkey 76
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/Example External Tools/tools/To-Upper-Case:
--------------------------------------------------------------------------------
1 | name To Upper Case
2 | command ../scripts/ToUpperCase
3 | comment Selected text is uppercased.
4 | flags 1
5 | interm 0
6 | inpopup 1
7 | alwayspopup 0
8 | clearview 0
9 | runasroot 0
10 | shortcutkey 85
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/docs/Doxyfile:
--------------------------------------------------------------------------------
1 | DOXYFILE_ENCODING=UTF-8
2 | PROJECT_NAME=KKEdit
3 | PROJECT_NUMBER=0.4.3
4 | INPUT = .
5 | OUTPUT_DIRECTORY=
6 | CREATE_SUBDIRS=NO
7 | ALLOW_UNICODE_NAMES=NO
8 | OUTPUT_LANGUAGE=English
9 | BRIEF_MEMBER_DESC=NO
10 | REPEAT_BRIEF=NO
11 | ALWAYS_DETAILED_SEC=NO
12 | INLINE_INHERITED_MEMB=NO
13 | FULL_PATH_NAMES=YES
14 | SHORT_NAMES=NO
15 | JAVADOC_AUTOBRIEF=NO
16 | QT_AUTOBRIEF=NO
17 | MULTILINE_CPP_IS_BRIEF=NO
18 | INHERIT_DOCS=NO
19 | SEPARATE_MEMBER_PAGES=YES
20 | TAB_SIZE=4
21 | OPTIMIZE_OUTPUT_FOR_C=NO
22 | OPTIMIZE_OUTPUT_JAVA=NO
23 | OPTIMIZE_FOR_FORTRAN=NO
24 | OPTIMIZE_OUTPUT_VHDL=NO
25 | MARKDOWN_SUPPORT=YES
26 | AUTOLINK_SUPPORT=NO
27 | BUILTIN_STL_SUPPORT=NO
28 | CPP_CLI_SUPPORT=NO
29 | SIP_SUPPORT=NO
30 | IDL_PROPERTY_SUPPORT=NO
31 | DISTRIBUTE_GROUP_DOC=NO
32 | SUBGROUPING=NO
33 | INLINE_GROUPED_CLASSES=NO
34 | INLINE_SIMPLE_STRUCTS=NO
35 | TYPEDEF_HIDES_STRUCT=NO
36 | LOOKUP_CACHE_SIZE=0
37 | EXTRACT_ALL=YES
38 | EXTRACT_PRIVATE=YES
39 | EXTRACT_PACKAGE=YES
40 | EXTRACT_STATIC=YES
41 | EXTRACT_LOCAL_CLASSES=YES
42 | EXTRACT_LOCAL_METHODS=YES
43 | EXTRACT_ANON_NSPACES=YES
44 | HIDE_UNDOC_MEMBERS=NO
45 | HIDE_UNDOC_CLASSES=NO
46 | HIDE_FRIEND_COMPOUNDS=NO
47 | HIDE_IN_BODY_DOCS=NO
48 | INTERNAL_DOCS=NO
49 | CASE_SENSE_NAMES=NO
50 | HIDE_SCOPE_NAMES=NO
51 | SHOW_INCLUDE_FILES=NO
52 | SHOW_GROUPED_MEMB_INC=NO
53 | FORCE_LOCAL_INCLUDES=YES
54 | INLINE_INFO=NO
55 | SORT_MEMBER_DOCS=NO
56 | SORT_BRIEF_DOCS=NO
57 | SORT_MEMBERS_CTORS_1ST = NO
58 | SORT_GROUP_NAMES=NO
59 | SORT_BY_SCOPE_NAME=NO
60 | STRICT_PROTO_MATCHING=NO
61 | GENERATE_TODOLIST=NO
62 | GENERATE_TESTLIST=NO
63 | GENERATE_BUGLIST=NO
64 | GENERATE_DEPRECATEDLIST=NO
65 | MAX_INITIALIZER_LINES=30
66 | SHOW_USED_FILES=NO
67 | SHOW_FILES=YES
68 | SHOW_NAMESPACES=YES
69 | QUIET=NO
70 | WARNINGS=NO
71 | WARN_IF_UNDOCUMENTED=NO
72 | WARN_IF_DOC_ERROR=NO
73 | WARN_NO_PARAMDOC=NO
74 | WARN_FORMAT="$file:$line: $text"
75 | INPUT_ENCODING=UTF-8
76 | RECURSIVE=NO
77 | EXCLUDE_SYMLINKS=NO
78 | EXAMPLE_RECURSIVE=NO
79 | FILTER_SOURCE_FILES=NO
80 | SOURCE_BROWSER=YES
81 | INLINE_SOURCES=NO
82 | STRIP_CODE_COMMENTS=YES
83 | REFERENCED_BY_RELATION=YES
84 | REFERENCES_RELATION=YES
85 | REFERENCES_LINK_SOURCE=NO
86 | SOURCE_TOOLTIPS=YES
87 | USE_HTAGS=NO
88 | VERBATIM_HEADERS=NO
89 | ALPHABETICAL_INDEX=NO
90 | COLS_IN_ALPHA_INDEX=5
91 | GENERATE_HTML=YES
92 | HTML_OUTPUT=html
93 | HTML_FILE_EXTENSION=.xhtml
94 | HTML_FOOTER=""
95 | HTML_COLORSTYLE_HUE=220
96 | HTML_COLORSTYLE_SAT=100
97 | HTML_COLORSTYLE_GAMMA=80
98 | HTML_TIMESTAMP=NO
99 | HTML_DYNAMIC_SECTIONS=YES
100 | HTML_INDEX_NUM_ENTRIES=100
101 | GENERATE_DOCSET=NO
102 | GENERATE_HTMLHELP=NO
103 | GENERATE_CHI=NO
104 | BINARY_TOC=NO
105 | TOC_EXPAND=NO
106 | GENERATE_QHP=NO
107 | GENERATE_ECLIPSEHELP=NO
108 | DISABLE_INDEX=NO
109 | GENERATE_TREEVIEW=NO
110 | ENUM_VALUES_PER_LINE=4
111 | TREEVIEW_WIDTH=250
112 | EXT_LINKS_IN_WINDOW=NO
113 | FORMULA_FONTSIZE=10
114 | FORMULA_TRANSPARENT=YES
115 | USE_MATHJAX=NO
116 | SEARCHENGINE=YES
117 | SERVER_BASED_SEARCH=YES
118 | EXTERNAL_SEARCH=YES
119 | SEARCHDATA_FILE=searchdata.xml
120 | GENERATE_LATEX=NO
121 | GENERATE_RTF=NO
122 | GENERATE_MAN=NO
123 | GENERATE_XML=NO
124 | GENERATE_DOCBOOK=NO
125 | GENERATE_AUTOGEN_DEF=NO
126 | GENERATE_PERLMOD=NO
127 | ENABLE_PREPROCESSING=YES
128 | MACRO_EXPANSION=NO
129 | EXPAND_ONLY_PREDEF=NO
130 | SEARCH_INCLUDES=NO
131 | PREDEFINED=_BUILDDOCVIEWER_ _ASPELL_
132 | SKIP_FUNCTION_MACROS=YES
133 | ALLEXTERNALS=NO
134 | EXTERNAL_GROUPS=YES
135 | EXTERNAL_PAGES=YES
136 | PERL_PATH=/usr/bin/perl
137 | CLASS_DIAGRAMS=YES
138 | HIDE_UNDOC_RELATIONS=YES
139 | HAVE_DOT=YES
140 | DOT_NUM_THREADS=0
141 | DOT_FONTNAME=Helvetica
142 | DOT_FONTSIZE=10
143 | CLASS_GRAPH=YES
144 | COLLABORATION_GRAPH=YES
145 | GROUP_GRAPHS=YES
146 | UML_LOOK=NO
147 | UML_LIMIT_NUM_FIELDS=10
148 | TEMPLATE_RELATIONS=NO
149 | INCLUDE_GRAPH=YES
150 | INCLUDED_BY_GRAPH=YES
151 | CALL_GRAPH=YES
152 | CALLER_GRAPH=YES
153 | GRAPHICAL_HIERARCHY=YES
154 | DIRECTORY_GRAPH=YES
155 | DOT_IMAGE_FORMAT=svg
156 | INTERACTIVE_SVG=YES
157 | DOT_GRAPH_MAX_NODES=50
158 | MAX_DOT_GRAPH_DEPTH=0
159 | DOT_TRANSPARENT=YES
160 | DOT_MULTI_TARGETS=YES
161 | GENERATE_LEGEND=YES
162 | DOT_CLEANUP=YES
163 |
--------------------------------------------------------------------------------
/KKEdit/resources/goodies/coloumns:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Mon 10 Oct 19:37:42 BST 2016 kdhedger68713@gmail.com
4 | KKEDIT=../../app/kkedit
5 | KKMSG=../../app/kkeditmsg
6 | INSTANCE=12345999
7 |
8 | #if arg then remove and flush q then exit
9 | if [ "X$1" != "X" ];then
10 | $KKMSG -k $INSTANCE -fR
11 | exit 0
12 | fi
13 | #make sure queue is empty
14 | $KKMSG -k $INSTANCE -f
15 |
16 | #open instance or bring to front
17 | ($KKEDIT -i $INSTANCE) &
18 |
19 | #tell instance to inform us after loading has finished
20 | $KKMSG -k $INSTANCE -s "WaitForKKEdit" -a
21 | #open files
22 | $KKEDIT -i $INSTANCE /etc/group
23 | #block until finished loading
24 | $KKMSG -k $INSTANCE -b
25 |
26 | for ((j=5;j<10;j++))
27 | do
28 | $KKMSG -k $INSTANCE -s "GotoLine:$j"
29 | $KKMSG -k $INSTANCE -s "SelectBetween:2:6"
30 | $KKMSG -k $INSTANCE -s "Cut"
31 | $KKMSG -k $INSTANCE -s "InsertText:****"
32 | done
33 | $KKMSG -k $INSTANCE -a
34 |
--------------------------------------------------------------------------------
/KKEdit/resources/goodies/opendevkkedit:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #©keithhedger Mon 10 Oct 11:14:09 BST 2016 kdhedger68713@gmail.com
4 |
5 | KKEDIT=../../app/kkedit
6 | KKMSG=../../app/kkeditmsg
7 | INSTANCE=$(xdotool get_desktop)
8 |
9 | #if arg then remove and flush q then exit
10 | if [ "X$1" != "X" ];then
11 | $KKMSG -k $INSTANCE -fR
12 | exit 0
13 | fi
14 | #make sure queue is empty
15 | $KKMSG -k $INSTANCE -f
16 |
17 | #open instance or bring to front
18 | ($KKEDIT -i $INSTANCE) &
19 |
20 | $KKMSG -k $INSTANCE -s "RestoreSession:${HOME}/.KKEdit/plugins-gtk/session-0" -a
21 | sleep 1
22 | $KKMSG -k $INSTANCE -s "SelectTab:ChangeLog" -a
23 | $KKMSG -k $INSTANCE -s "RunTool:Open Folder And Terminal" -a
24 |
25 | exit 0
26 |
--------------------------------------------------------------------------------
/KKEdit/resources/goodies/opensession:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Sat 8 Oct 17:07:10 BST 2016 kdhedger68713@gmail.com
4 |
5 | KKEDIT=../../app/kkedit
6 | KKMSG=../../app/kkeditmsg
7 | INSTANCE=12345
8 |
9 | #if arg then remove and flush q then exit
10 | if [ "X$1" != "X" ];then
11 | $KKMSG -k $INSTANCE -fR
12 | exit 0
13 | fi
14 | #make sure queue is empty
15 | $KKMSG -k $INSTANCE -f
16 |
17 | #open instance or bring to front
18 | ($KKEDIT -i $INSTANCE) &
19 |
20 | #open session 2
21 | #restore from session file
22 | #$KKMSG -k $INSTANCE -s "RestoreSession:${HOME}/.KKEdit/plugins-gtk/session-2" -a
23 | #restore via session menu
24 | $KKMSG -k $INSTANCE -s "ActivateMenuNamed:2-RestoreSession" -a
25 |
--------------------------------------------------------------------------------
/KKEdit/resources/goodies/printpaths:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #©keithhedger Sat 8 Oct 13:26:24 BST 2016 kdhedger68713@gmail.com
4 | KKEDIT=../../app/kkedit
5 | KKMSG=../../app/kkeditmsg
6 | INSTANCE=12345999
7 |
8 | #if arg then remove and flush q then exit
9 | if [ "X$1" != "X" ];then
10 | $KKMSG -k $INSTANCE -fR
11 | exit 0
12 | fi
13 | #make sure queue is empty
14 | $KKMSG -k $INSTANCE -f
15 |
16 | #open instance or bring to front
17 | ($KKEDIT -i $INSTANCE) &
18 |
19 | #tell instance to inform us after loading has finished
20 | $KKMSG -k $INSTANCE -s "WaitForKKEdit" -a
21 | #open files
22 | $KKEDIT -i $INSTANCE /etc/fstab /etc/hosts
23 | #block until finished loading
24 | $KKMSG -k $INSTANCE -b
25 |
26 |
27 | $KKMSG -k $INSTANCE -s "PrintFiles" -a
28 | #wait for 1st message then print all meassages to stdout
29 | $KKMSG -k $INSTANCE -r
30 |
31 | #wait for user ( click Navigation->Continue )
32 | $KKMSG -k $INSTANCE -s "ShowContinue" -a
33 | #block until user continues
34 | $KKMSG -k $INSTANCE -b
35 | #print list of open files
36 | $KKMSG -k $INSTANCE -s "PrintFiles" -a
37 | #print all meassages to stdout
38 | $KKMSG -k $INSTANCE -r
39 |
40 | #send quit
41 | $KKMSG -k $INSTANCE -s "Quit" -a
42 | #flush and remove queue
43 | $KKMSG -k $INSTANCE -fR
44 |
45 |
46 |
--------------------------------------------------------------------------------
/KKEdit/resources/goodies/testscript:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | #©keithhedger Fri 7 Oct 11:22:22 BST 2016 kdhedger68713@gmail.com
4 |
5 | KKEDIT=../../app/kkedit
6 | KKMSG=../../app/kkeditmsg
7 | INSTANCE=1234
8 |
9 | #open instance or bring to front
10 | ($KKEDIT -i $INSTANCE) &
11 | #tell instance to inform us after loading has finished
12 | $KKMSG -k $INSTANCE -s "WaitForKKEdit" -a
13 | #open files
14 | $KKEDIT -i $INSTANCE /etc/fstab /etc/hosts
15 | #wait for loading to finish and discard o/p ("continue")
16 | $KKMSG -k $INSTANCE -W -r >/dev/null
17 | #print list of open files
18 | $KKMSG -k $INSTANCE -s "p" -a
19 | #wait for 1st message then print all meassages to stdout
20 | $KKMSG -k $INSTANCE -W -r
21 | #
22 | ##wait for user ( click Navigation->Continue )
23 | #$KKMSG -k $INSTANCE -s "W" -a
24 | #$KKMSG -k $INSTANCE -w >/dev/null
25 | #
26 | ##print open files to stdout
27 | #$KKMSG -k $INSTANCE -s "p" -a
28 | ##wait for 1st message then print all meassages to stdout
29 | #$KKMSG -k $INSTANCE -W -r
30 | #
31 | #quit instance
32 | #$KKMSG -k $INSTANCE -s "Q" -a
33 |
34 |
--------------------------------------------------------------------------------
/KKEdit/resources/help:
--------------------------------------------------------------------------------
1 | ../../docs
--------------------------------------------------------------------------------
/KKEdit/resources/man/kkedit.1:
--------------------------------------------------------------------------------
1 | .TH "kkedit" "1" "0.4.2" "K.D.Hedger" ""
2 | .SH "NAME"
3 | KKEdit — Source code text editor.
4 | .br
5 | .SH "SYNTAX"
6 | kkedit [\fIoption\fR] FILE1 FILE2 ... FILEN
7 | .br
8 | .SH "DESCRIPTION"
9 | KKEdit is NOT a word processor or a web page editor, it is NOT
10 | .br
11 | and IDE! It won't right code for you, it wont insist on inserting
12 | .br
13 | brackets ( REALLY annoying! ), it wont force you to use any
14 | .br
15 | particular style, it doesn't need you to break all your fingers
16 | .br
17 | trying to hit weird and wonderful key combo's and it is not tied
18 | .br
19 | to one particular distro, oh yes and it won't cost you a penny!
20 | .br
21 |
22 | KKEdit is a deceptively simple text editor with syntax colouring.
23 | .br
24 | It also has a function menu which allows you to jump instantly to
25 | .br
26 | a function definition, a navigation menu which will look in all
27 | .br
28 | open files for a function definition and then switch to that tab
29 | .br
30 | and go to the relevant line if it can't find a definition in any
31 | .br
32 | open files it will do a recursive search from the folder of the
33 | .br
34 | currently selected document, you can also highlight a #include
35 | .br
36 | directive and it will search for and try to open the file,
37 | .br
38 | include files surrounded by <> will be looked for in /usr/include,
39 | .br
40 | files surrounded by "" will be looked for in the current folder.
41 | .br
42 | External tools can be added either globally or locally and when
43 | .br
44 | run can either replace the currently select text with their
45 | .br
46 | output, replace all the files text, be run in a terminal or you
47 | .br
48 | can choose to ignore the output form the script, BASH, python and
49 | .br
50 | perl can be used for the script language or any interpretor that
51 | .br
52 | uses '#' as a comment marker.
53 | .br
54 |
55 | You can drag and drop a file onto the main toolbar/menu to open a
56 | .br
57 | file. Session can be saved and reloaded. Any amount of bookmarks can
58 | .br
59 | be added anywhere, selecting a bookmark from the menu will switch to
60 | .br
61 | that tab and move to the appropriate line. Just type a line number
62 | .br
63 | into the edit box on the toolbar to jump straight to that line.
64 | .br
65 | .SH "OPTIONS"
66 | \fB-h, --help\fR
67 | .br
68 | Show help options.
69 | .br
70 |
71 | \fB-m, --multiple\fR
72 | .br
73 | Multiple instance mode.
74 | .br
75 |
76 | \fB-a\fR, \fB--no-autosession\fR
77 | .br
78 | Don't auto load last session.
79 | .br
80 |
81 | \fB-i\fR, \fB--\fR\fBsessionid\fR ARG
82 | .br
83 | Set an ID to be used for (new) instance, ARG=any integer eg 12345.
84 | .br
85 |
86 | \fB-s, --safe\fR
87 | .br
88 | Safe mode (disable all plugins and use new instance).
89 | .br
90 |
91 | .SH "AUTHORS"
92 | Bugs, suggestions etc to:
93 | .br
94 | keithhedger@keithhedger.darktech.org
95 | .br
96 |
--------------------------------------------------------------------------------
/KKEdit/resources/man/kkeditmsg.1:
--------------------------------------------------------------------------------
1 | .TH "kkeditmsg" "1" "0.2.0" "K. D. Hedger." "User Commands"
2 | .SH "NAME"
3 | \fBkkeditmsg\fR - manual page for kkeditmsg 0.2.0
4 | .br
5 |
6 | .SH "SYNOPSIS"
7 | \fBkkeditmsg \fR[\fIOPTION\fR] [\fITEXT\fR]
8 | .br
9 |
10 | .SH "DESCRIPTION"
11 | A simple scripting/remote control cli app for kkedit.
12 | .br
13 |
14 | \fB-s\fR, \fB--send\fR=\fITEXT\fR
15 | .br
16 | Send message [\fITEXT\fR] (defaults to receive).
17 | .br
18 | See 'COMMANDS' for description of what commadns can be sent to KKEdit.
19 | .br
20 |
21 | \fB-r\fR, \fB--receive\fR
22 | .br
23 | Print all messages in queue to stdout.
24 | .br
25 |
26 | \fB-f\fR, \fB--flush\fR
27 | .br
28 | Flush message queue quietly.
29 | .br
30 |
31 | \fB-k\fR, \fB--key\fR=\fIKEY\fR
32 | .br
33 | Use \fIKEY\fR (INTEGER) instead of generated one.
34 | .br
35 |
36 | \fB-w\fR, \fB--wait\fR
37 | .br
38 | Wait for message's to arrive (blocking).
39 | .br
40 |
41 | \fB-W\fR, \fB--wait-first\fR
42 | .br
43 | Wait for first message to arrive (blocking) then continue.
44 | .br
45 |
46 | \fB-b\fR, \fB--block\fR
47 | .br
48 | Wait for first message to arrive (blocking) then continue receved message is discarded.
49 | .br
50 |
51 | \fB-a\fR, \fB--activate\fR
52 | .br
53 | Activate kkedit and execute queued commands.
54 | .br
55 |
56 | \fB-R\fR, \fB--remove\fR
57 | .br
58 | Remove Queue.
59 | .br
60 |
61 | \fB-v\fR, \fB--version\fR
62 | .br
63 | output version information and exit.
64 | .br
65 |
66 | \fB-h\fR, -?, \fB--help\fR
67 | .br
68 | print this help.
69 | .br
70 |
71 | .SH "COMMANDS"
72 | Commands are case sensitive.
73 | .br
74 | Commands recognised by KKEdit:
75 | .br
76 |
77 | \fBQuit\fR
78 | .br
79 | Tell KKEdit to quit.
80 | .br
81 | \fBGotoLine\fR:\fILINENUM\fR
82 | .br
83 | Tell KKEdit to goto \fILINENUM\fR on current page.
84 | .br
85 | \fBSearchDef\fR:\fINAME\fR
86 | .br
87 | Tell KKEdit to search for definition of function, variable etc \fINAME\fR.
88 | .br
89 | \fBSelectTab\fR:\fINAME\fR
90 | .br
91 | Tell KKEdit to activate tab \fINAME\fR.
92 | .br
93 | \fBSelectTabByPath\fR:\fIFILEPATH\fR
94 | .br
95 | Tell KKEdit to activate tab whose filepath is \fIFILEPATH\fR.
96 | .br
97 | \fBBookmark\fR
98 | .br
99 | Tell KKEdit to toggle bookmark for current line.
100 | .br
101 | \fBCloseTab\fR
102 | .br
103 | Tell KKEdit to close current tab.
104 | .br
105 | \fBSetMark\fR:\fIUSERMARK\fR
106 | .br
107 | Tell KKEdit to set usermark named \fIUSERMARK\fR at current line.
108 | .br
109 | \fBUnsetMark\fR
110 | .br
111 | Tell KKEdit to remove usermark named \fIUSERMARK\fR at current line.
112 | .br
113 | \fBMoveTo\fR:\fIOFFSET\fR
114 | .br
115 | Tell KKEdit to move cursor to \fIOFFSET\fR on current line.
116 | .br
117 | \fBSelectBetween\fR:\fISTART\fR:\fIEND\fR
118 | .br
119 | Tell KKEdit to select text between \fISTART\fR and \fIEND\fR on currrent line.
120 | .br
121 | \fBPaste\fR
122 | .br
123 | Tell KKEdit to paste text on clipboard.
124 | .br
125 | \fBCopy\fR
126 | .br
127 | Tell KKEdit to copy currently selected text.
128 | .br
129 | \fBCut\fR
130 | .br
131 | Tell KKEdit to cut currently selected text.
132 | .br
133 | \fBInsertText\fR:\fITEXT\fR
134 | .br
135 | Tell KKEdit to insert \fITEXT\fR at current position.
136 | .br
137 | \fBInsertNL\fR:\fINUM\fR
138 | .br
139 | Tell KKEdit to insert \fINUM\fR newlines into text.
140 | .br
141 | \fBInsertFile\fR:\fIFILEPATH\fR
142 | .br
143 | Tell KKEdit to insert file \fIFILEPATH\fR at current location.
144 | .br
145 | \fBPrintFiles\fR
146 | .br
147 | Tell KKEdit to send a list of currently open files back to kkeditmsg.
148 | .br
149 | \fBWaitForKKEdit\fR
150 | .br
151 | Tell KKEdit to inform kkeditmsg when finished opening files from the command line.
152 | .br
153 | \fBShowContinue\fR
154 | .br
155 | Tell KKEdit to show the 'Continue' menu item in the 'Navigation' menu and send a message to back to kkeditmsg when activated.
156 | .br
157 | \fBRunTool\fR:\fINAME\fR
158 | .br
159 | Tell KKEdit to run external tool named \fINAME\fR.
160 | .br
161 | \fBRestoreSession\fR:\fIFILEPATH\fR
162 | .br
163 | Tell KKEdit to restore a session from file \fIFILEPATH\fR.
164 | .br
165 | \fBActivateMenuNamed\fR:\fINAME\fR
166 | .br
167 | Tell KKEdit to activate a menu item named \fINAME\fR, this is the widget name as defined in 'kkedit-plugins.h' or defined by a plugin NOT the menu label.
168 | .br
169 | \fBActivateMenuLabeled\fR:\fILABEL\fR
170 | .br
171 | Tell KKEdit to activate menu by menu item label \fILABEL\fR.
172 | .br
173 | \fBSendPosData\fR
174 | .br
175 | Tell KKEdit to send kkeditmsg the current filepath and line number in the format "/path/to/file:linnumber"
176 | .br
177 |
178 | User marks are named "user1", "user2", "user3", "user4", this may change and be configureable later.
179 | .br
180 | .SH "FILES"
181 |
182 | See the example scropts in the '/usr/share/KKEdit/goodies' folder.
183 | .br
184 | .SH "REPORTING BUGS"
185 | Report bugs to kdhedger68713@gmail.com
186 | .br
187 |
188 |
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/BookMark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/BookMark.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEdit-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEdit-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEdit.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Version=1.0
3 | Encoding=UTF-8
4 | Name=KKEdit
5 | GenericName=Advanced Text Editor
6 | Comment=A GTK2/3 text editor inspired by ( but not based on ) BBEdit.
7 | Terminal=false
8 | Type=Application
9 | Categories=Utility;GTK;TextEditor;
10 | MimeType=text/plain;
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEdit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEdit.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditPlug-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditPlug-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditPlug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditPlug.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditPlugMenu-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditPlugMenu-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditPlugMenu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditPlugMenu.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditProject-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditProject-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditProject.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditProject.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditRoot-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditRoot-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditRoot.desktop:
--------------------------------------------------------------------------------
1 | [Desktop Entry]
2 | Version=1.0
3 | Encoding=UTF-8
4 | Name=KKEdit - Root
5 | GenericName=Advanced Text Editor - Root Mode
6 | Comment=A GTK2/3 text editor inspired by ( but not based on ) BBEdit.
7 | Terminal=false
8 | Type=Application
9 | Categories=System;GTK;Utility;TextEditor;
10 | MimeType=text/plain;
11 |
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/KKEditRoot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/KKEditRoot.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/ManPageEditor.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/ManPageEditor.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/MenuKKEdit-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/MenuKKEdit-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/MenuKKEdit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/MenuKKEdit.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/ROOTKKEdit-3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/ROOTKKEdit-3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/ROOTKKEdit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/ROOTKKEdit.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/UserMark1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/UserMark1.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/UserMark2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/UserMark2.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/UserMark3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/UserMark3.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/UserMark4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/UserMark4.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/api.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/api.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/back.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/back.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/copy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/copy.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/cut.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/cut.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/expand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/expand.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/find.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/find.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/finddef.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/finddef.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/forward.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/forward.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/live.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/live.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/new.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/new.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/num.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/num.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/open.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/paste.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/paste.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/qtapi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/qtapi.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/question.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/question.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/redo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/redo.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/save.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/save.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/sep.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/sep.png
--------------------------------------------------------------------------------
/KKEdit/resources/pixmaps/undo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/pixmaps/undo.png
--------------------------------------------------------------------------------
/KKEdit/resources/scripts/OpenManPage:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Sun 15 Dec 18:54:28 GMT 2013 kdhedger68713@gmail.com
4 |
5 | if man -w $KKEDIT_SELECTION &>/dev/null;then
6 | man2html $(man -w $KKEDIT_SELECTION) > "$KKEDIT_HTMLFILE"
7 | else
8 | rm "$KKEDIT_HTMLFILE" &>/dev/null
9 | fi
10 |
--------------------------------------------------------------------------------
/KKEdit/resources/src/kkedit.mpz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/src/kkedit.mpz
--------------------------------------------------------------------------------
/KKEdit/resources/src/kkeditmsg.mpz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/resources/src/kkeditmsg.mpz
--------------------------------------------------------------------------------
/KKEdit/resources/styles/brownwood.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | K.D.Hedger
5 | <_description>1st GtkSourceView wood theme
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/KKEdit/resources/styles/rootsrc.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | K.d.Hedger
5 | <_description>A red theme to use in root editor as a reminder
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
--------------------------------------------------------------------------------
/KKEdit/resources/styles/steel.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | K.D.Hedger
5 | <_description>1st steel theme
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/KKEdit/resources/tools/Open-Man-Page:
--------------------------------------------------------------------------------
1 | name Open Man Page
2 | command ../scripts/OpenManPage
3 | comment Opens the manpage for the selected text if available.
4 | flags 4
5 | interm 0
6 | inpopup 1
7 | alwayspopup 0
8 | comment Attempt to open the manpage for the selected text.
9 | shortcutkey 16777215
--------------------------------------------------------------------------------
/KKEdit/resources/tools/Open-Xterm-Here:
--------------------------------------------------------------------------------
1 | name Open Xterm Here
2 | command cd %d;xterm -e /bin/bash
3 | comment Open an xterm in the current document's folder
4 | flags 8
5 | interm 0
6 | inpopup 0
7 | alwayspopup 1
8 | shortcutkey 16777215
--------------------------------------------------------------------------------
/KKEdit/resources/tools/Re-Open-As-Root:
--------------------------------------------------------------------------------
1 | name Re-Open As Root
2 | command kkedit -m "%f"
3 | comment Re-Open the current document as root
4 | flags 8
5 | interm 0
6 | inpopup 0
7 | alwayspopup 1
8 | clearview 0
9 | runasroot 1
10 | shortcutkey 16777215
--------------------------------------------------------------------------------
/KKEdit/sources:
--------------------------------------------------------------------------------
1 | COMMONSRC = ../src/backclass.cpp ../src/bookmarks.cpp ../src/callbacks.cpp ../src/completion.cpp ../src/files.cpp ../src/globals.cpp ../src/guis.cpp ../src/internet.cpp ../src/main.cpp ../src/navcallbacks.cpp ../src/pages.cpp ../src/pluginclass.cpp ../src/plugins.cpp ../src/scripting.cpp ../src/searchcallbacks.cpp ../src/sliceclass.cpp ../src/spellcheck.cpp ../src/textbuffer.cpp
2 |
--------------------------------------------------------------------------------
/KKEdit/src/Doxyfile:
--------------------------------------------------------------------------------
1 | DOXYFILE_ENCODING=UTF-8
2 | PROJECT_NAME=KKEdit
3 | PROJECT_NUMBER=0.4.3
4 | INPUT = .
5 | OUTPUT_DIRECTORY=
6 | CREATE_SUBDIRS=NO
7 | ALLOW_UNICODE_NAMES=NO
8 | OUTPUT_LANGUAGE=English
9 | BRIEF_MEMBER_DESC=NO
10 | REPEAT_BRIEF=NO
11 | ALWAYS_DETAILED_SEC=NO
12 | INLINE_INHERITED_MEMB=NO
13 | FULL_PATH_NAMES=YES
14 | SHORT_NAMES=NO
15 | JAVADOC_AUTOBRIEF=NO
16 | QT_AUTOBRIEF=NO
17 | MULTILINE_CPP_IS_BRIEF=NO
18 | INHERIT_DOCS=NO
19 | SEPARATE_MEMBER_PAGES=YES
20 | TAB_SIZE=4
21 | OPTIMIZE_OUTPUT_FOR_C=NO
22 | OPTIMIZE_OUTPUT_JAVA=NO
23 | OPTIMIZE_FOR_FORTRAN=NO
24 | OPTIMIZE_OUTPUT_VHDL=NO
25 | MARKDOWN_SUPPORT=YES
26 | AUTOLINK_SUPPORT=NO
27 | BUILTIN_STL_SUPPORT=NO
28 | CPP_CLI_SUPPORT=NO
29 | SIP_SUPPORT=NO
30 | IDL_PROPERTY_SUPPORT=NO
31 | DISTRIBUTE_GROUP_DOC=NO
32 | SUBGROUPING=NO
33 | INLINE_GROUPED_CLASSES=NO
34 | INLINE_SIMPLE_STRUCTS=NO
35 | TYPEDEF_HIDES_STRUCT=NO
36 | LOOKUP_CACHE_SIZE=0
37 | EXTRACT_ALL=YES
38 | EXTRACT_PRIVATE=YES
39 | EXTRACT_PACKAGE=YES
40 | EXTRACT_STATIC=YES
41 | EXTRACT_LOCAL_CLASSES=YES
42 | EXTRACT_LOCAL_METHODS=YES
43 | EXTRACT_ANON_NSPACES=YES
44 | HIDE_UNDOC_MEMBERS=NO
45 | HIDE_UNDOC_CLASSES=NO
46 | HIDE_FRIEND_COMPOUNDS=NO
47 | HIDE_IN_BODY_DOCS=NO
48 | INTERNAL_DOCS=NO
49 | CASE_SENSE_NAMES=NO
50 | HIDE_SCOPE_NAMES=NO
51 | SHOW_INCLUDE_FILES=NO
52 | SHOW_GROUPED_MEMB_INC=NO
53 | FORCE_LOCAL_INCLUDES=YES
54 | INLINE_INFO=NO
55 | SORT_MEMBER_DOCS=NO
56 | SORT_BRIEF_DOCS=NO
57 | SORT_MEMBERS_CTORS_1ST = NO
58 | SORT_GROUP_NAMES=NO
59 | SORT_BY_SCOPE_NAME=NO
60 | STRICT_PROTO_MATCHING=NO
61 | GENERATE_TODOLIST=NO
62 | GENERATE_TESTLIST=NO
63 | GENERATE_BUGLIST=NO
64 | GENERATE_DEPRECATEDLIST=NO
65 | MAX_INITIALIZER_LINES=30
66 | SHOW_USED_FILES=NO
67 | SHOW_FILES=YES
68 | SHOW_NAMESPACES=YES
69 | QUIET=NO
70 | WARNINGS=NO
71 | WARN_IF_UNDOCUMENTED=NO
72 | WARN_IF_DOC_ERROR=NO
73 | WARN_NO_PARAMDOC=NO
74 | WARN_FORMAT="$file:$line: $text"
75 | INPUT_ENCODING=UTF-8
76 | RECURSIVE=NO
77 | EXCLUDE_SYMLINKS=NO
78 | EXAMPLE_RECURSIVE=NO
79 | FILTER_SOURCE_FILES=NO
80 | SOURCE_BROWSER=YES
81 | INLINE_SOURCES=NO
82 | STRIP_CODE_COMMENTS=YES
83 | REFERENCED_BY_RELATION=YES
84 | REFERENCES_RELATION=YES
85 | REFERENCES_LINK_SOURCE=NO
86 | SOURCE_TOOLTIPS=YES
87 | USE_HTAGS=NO
88 | VERBATIM_HEADERS=NO
89 | ALPHABETICAL_INDEX=NO
90 | COLS_IN_ALPHA_INDEX=5
91 | GENERATE_HTML=YES
92 | HTML_OUTPUT=html
93 | HTML_FILE_EXTENSION=.xhtml
94 | HTML_FOOTER=""
95 | HTML_COLORSTYLE_HUE=220
96 | HTML_COLORSTYLE_SAT=100
97 | HTML_COLORSTYLE_GAMMA=80
98 | HTML_TIMESTAMP=NO
99 | HTML_DYNAMIC_SECTIONS=YES
100 | HTML_INDEX_NUM_ENTRIES=100
101 | GENERATE_DOCSET=NO
102 | GENERATE_HTMLHELP=NO
103 | GENERATE_CHI=NO
104 | BINARY_TOC=NO
105 | TOC_EXPAND=NO
106 | GENERATE_QHP=NO
107 | GENERATE_ECLIPSEHELP=NO
108 | DISABLE_INDEX=NO
109 | GENERATE_TREEVIEW=NO
110 | ENUM_VALUES_PER_LINE=4
111 | TREEVIEW_WIDTH=250
112 | EXT_LINKS_IN_WINDOW=NO
113 | FORMULA_FONTSIZE=10
114 | FORMULA_TRANSPARENT=YES
115 | USE_MATHJAX=NO
116 | SEARCHENGINE=YES
117 | SERVER_BASED_SEARCH=YES
118 | EXTERNAL_SEARCH=YES
119 | SEARCHDATA_FILE=searchdata.xml
120 | GENERATE_LATEX=NO
121 | GENERATE_RTF=NO
122 | GENERATE_MAN=NO
123 | GENERATE_XML=NO
124 | GENERATE_DOCBOOK=NO
125 | GENERATE_AUTOGEN_DEF=NO
126 | GENERATE_PERLMOD=NO
127 | ENABLE_PREPROCESSING=YES
128 | MACRO_EXPANSION=NO
129 | EXPAND_ONLY_PREDEF=NO
130 | SEARCH_INCLUDES=NO
131 | PREDEFINED=_BUILDDOCVIEWER_ _ASPELL_
132 | SKIP_FUNCTION_MACROS=YES
133 | ALLEXTERNALS=NO
134 | EXTERNAL_GROUPS=YES
135 | EXTERNAL_PAGES=YES
136 | PERL_PATH=/usr/bin/perl
137 | CLASS_DIAGRAMS=YES
138 | HIDE_UNDOC_RELATIONS=YES
139 | HAVE_DOT=YES
140 | DOT_NUM_THREADS=0
141 | DOT_FONTNAME=Helvetica
142 | DOT_FONTSIZE=10
143 | CLASS_GRAPH=YES
144 | COLLABORATION_GRAPH=YES
145 | GROUP_GRAPHS=YES
146 | UML_LOOK=NO
147 | UML_LIMIT_NUM_FIELDS=10
148 | TEMPLATE_RELATIONS=NO
149 | INCLUDE_GRAPH=YES
150 | INCLUDED_BY_GRAPH=YES
151 | CALL_GRAPH=YES
152 | CALLER_GRAPH=YES
153 | GRAPHICAL_HIERARCHY=YES
154 | DIRECTORY_GRAPH=YES
155 | DOT_IMAGE_FORMAT=svg
156 | INTERACTIVE_SVG=YES
157 | DOT_GRAPH_MAX_NODES=50
158 | MAX_DOT_GRAPH_DEPTH=0
159 | DOT_TRANSPARENT=YES
160 | DOT_MULTI_TARGETS=YES
161 | GENERATE_LEGEND=YES
162 | DOT_CLEANUP=YES
163 |
--------------------------------------------------------------------------------
/KKEdit/src/backclass.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:52:41 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (backclass.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _BACKCLASS_
22 | #define _BACKCLASS_
23 |
24 | struct historyData
25 | {
26 | char *filePath;
27 | unsigned lineNumber;
28 | unsigned pageID;
29 | char *tabName;
30 | char *menuLabel;
31 | };
32 |
33 |
34 | class HistoryClass
35 | {
36 | public:
37 | HistoryClass(GtkNotebook *nb,unsigned maxhist);
38 | ~HistoryClass();
39 |
40 | bool canGoBack(void);
41 | bool canGoForward(void);
42 | void goBack(void);
43 | void goForward(void);
44 | void goToPos(void);
45 | void saveLastPos(void);
46 | void saveLastPosAndStop(void);
47 | unsigned getSaveCnt(void);
48 | void setSaveCnt(int num);
49 | unsigned getMaxHist(void);
50 | historyData *getHistory(int num);
51 | void setHistBackMenu(GtkWidget *menu);
52 | GtkWidget *getHistBackMenu(void);
53 | void setHistForwardMenu(GtkWidget *menu);
54 | GtkWidget *getHistForwardMenu(void);
55 | void redoMenus(void);
56 |
57 | private:
58 | unsigned maxHist;
59 | historyData *savedPages;
60 | unsigned saveCnt;
61 | bool backOK;
62 | bool forwardOK;
63 | GtkNotebook *notebook;
64 | GtkWidget *historyBackMenu;
65 | GtkWidget *historyForwardMenu;
66 |
67 | void copyPage(int topage,int frompage);
68 | };
69 |
70 | #endif
71 |
--------------------------------------------------------------------------------
/KKEdit/src/bookmarks.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Mon 2 May 20:30:31 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (bookmarks.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 |
22 | #ifndef _BOOKMARKS_
23 | #define _BOOKMARKS_
24 |
25 | struct bookMarksNew
26 | {
27 | pageStruct *page;
28 | char *label;
29 | GtkSourceMark *mark;
30 | char *markName;
31 | int line;
32 | unsigned pageID;
33 | };
34 |
35 | enum {UPDATEBMLINE=0,MOVEBM};
36 |
37 | void moveBMsForPage(pageStruct *page,unsigned dowhat);
38 | void destroyBMData(gpointer data);
39 | void toggleBookmark(GtkWidget*,GtkTextIter *titer);
40 | void removeAllBookmarks(GtkWidget *widget,GtkTextIter *titer);
41 | void toggleBookMarkBar(GtkWidget *widget,gpointer data);
42 | void setUserMark(const char *mark,int line);
43 | void removeUserMark(const char *umark,int line);
44 |
45 |
46 | #endif
47 |
--------------------------------------------------------------------------------
/KKEdit/src/callbacks.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:52:11 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (callbacks.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _CALLBACKS_
22 | #define _CALLBACKS_
23 | extern GtkWidget *holdWidget;
24 | enum {NEWROOTEDITOR=1,NEWEDITOR,NEWMANPAGEEDITOR};
25 |
26 | void closeTab(GtkWidget *widget,gpointer data);
27 | void switchPage(GtkNotebook *notebook,gpointer arg1,guint arg2,gpointer user_data);
28 | void copyToClip(GtkWidget *widget,gpointer data);
29 | void cutToClip(GtkWidget *widget,gpointer data);
30 | void pasteFromClip(GtkWidget *widget,gpointer data);
31 | void undo(GtkWidget *widget,gpointer data);
32 | void redo(GtkWidget *widget,gpointer data);
33 | void externalTool(GtkWidget *widget,gpointer data);
34 | void openHelp(GtkWidget *widget,gpointer data);
35 | void printFile(GtkWidget *widget,gpointer data);
36 | void populatePopupMenu(GtkTextView *entry,GtkMenu *menu,gpointer user_data);
37 | bool tabPopUp(GtkWidget *my_widget, GdkEventButton *event,gpointer user_data);
38 | bool doShutdown(GtkWidget *widget,GdkEvent *event,gpointer data);
39 | void setPrefs(GtkWidget *widget,gpointer data);
40 | void setToolOptions(GtkWidget *widget,gpointer data);
41 | void doAbout(GtkWidget *widget,gpointer data);
42 | void writeExitData(void);
43 | bool doSaveAll(GtkWidget *widget,gpointer data);
44 | void closeAllTabs(GtkWidget *widget,gpointer data);
45 | void refreshMainWindow(void);
46 | void newEditor(GtkWidget *widget,gpointer data);
47 | void changeSourceStyle(GtkWidget *widget,gpointer data);
48 | int yesNo(char *question,char *file);
49 |
50 | #ifdef _USEGTK3_
51 | void line_mark_activated(GtkSourceView *view,GtkTextIter *iter,GdkEvent *event,gpointer user_data);
52 | #else
53 | void line_mark_activated(GtkSourceGutter *gutter,GtkTextIter *iter,GdkEventButton *ev,pageStruct *page);
54 | #endif
55 |
56 | void toggleToolBar(GtkWidget *widget,gpointer data);
57 | void toggleToolOutput(GtkWidget *widget,gpointer data);
58 | void unRedoAll(GtkWidget *widget,gpointer data);
59 | gboolean keyShortCut(GtkWidget *window,GdkEventKey *event,gpointer data);
60 | void loadKeybindings(void);
61 | void toggleStatusBar(GtkWidget *widget,gpointer data);
62 | void updateStatusBar(GtkTextBuffer *textbuffer,GtkTextIter *location,GtkTextMark *mark,gpointer data);
63 | void toggleDocviewer(GtkWidget *widget,gpointer data);
64 | void closeDocViewer(GtkWidget *widget,GdkEvent *event,gpointer data);
65 | void getPlugins(GtkWidget *widget,gpointer data);
66 | void showToolOutput(bool immediate);
67 | void hideToolOutput(bool immediate);
68 | void sortTabs(GtkWidget *widget,gpointer data);
69 | void showAllTabs(GtkWidget *widget,gpointer data);
70 | void hideTab(GtkWidget *widget,gpointer data);
71 |
72 | void toggleLineNumbers(GtkWidget *widget,gpointer data);
73 | void toggleWrapLines(GtkWidget *widget,gpointer data);
74 | void toggleSyntax(GtkWidget *widget,gpointer data);
75 | void toggleWhitespace(GtkWidget *widget,gpointer data);
76 | void toggleAutoComplete(GtkWidget *widget,gpointer data);
77 | void toggleHighlightCurrent(GtkWidget *widget,gpointer data);
78 | void toggleReadOnly(GtkWidget *widget,gpointer data);
79 |
80 | void markUndo(GtkSourceUndoManager *manager,pageStruct *page);
81 | void markRedo(GtkSourceUndoManager *manager,pageStruct *page);
82 | void markDirty(GtkTextBuffer *textbuffer,pageStruct *page);
83 | void realCloseTab(GtkNotebook *notebook,GtkWidget *child,guint page_num,gpointer user_data);
84 | void doTabMenu(GtkWidget *widget,gpointer user_data);
85 |
86 | GtkWidget* findMenu(GtkWidget *parent,const gchar *name);
87 | gboolean autoSaveCallBack(gpointer user_data);
88 |
89 | #endif
90 |
--------------------------------------------------------------------------------
/KKEdit/src/completion.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:52:58 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (completion.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #include
22 | #ifdef _USEGTK3_
23 | #include
24 | #endif
25 |
26 | #ifndef _COMPLETION_
27 | #define _COMPLETION_
28 |
29 | typedef struct _FunctionProvider FunctionProvider;
30 | typedef struct _FunctionProviderClass FunctionProviderClass;
31 |
32 | struct _FunctionProvider
33 | {
34 | GObject parent;
35 | GList *proposals;
36 | gint priority;
37 | const char *name;
38 | GtkSourceCompletionContext *context;
39 | GdkPixbuf *icon;
40 | };
41 |
42 | void function_provider_iface_init(GtkSourceCompletionProviderIface *iface);
43 | GType function_provider_get_type(void);
44 |
45 | extern FunctionProvider *funcProv;
46 | extern FunctionProvider *varsProv;
47 | extern GtkSourceCompletionWords *docWordsProv;
48 | extern FunctionProvider *customProv;
49 | extern bool forcePopup;
50 |
51 | void doCompletionPopUp(pageStruct *page);
52 | void createCompletion(pageStruct *page);
53 | void addProp(pageStruct *page);
54 | void removeProps(void);
55 | void addtoCustomWordList(GtkWidget *widget,gpointer data);
56 |
57 | #endif
58 |
--------------------------------------------------------------------------------
/KKEdit/src/files.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:49:00 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (files.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _FILES_
22 | #define _FILES_
23 |
24 | void saveVarsToFile(char *filepath,args *dataptr);
25 | int loadVarsFromFile(char *filepath,args *dataptr);
26 | bool openFile(const gchar *filepath,int linenumber,bool warn);
27 | bool saveFile(GtkWidget *widget,gpointer data);
28 | void newFile(GtkWidget *widget,gpointer data);
29 | void resetAllFilePrefs(void);
30 | void openAsHexDump(GtkWidget *widget,gpointer user_data);
31 | void reloadFile(GtkWidget *widget,gpointer data);
32 | void saveSession(const char *filename,const char *path);
33 | void restoreSession(GtkWidget *widget,gpointer data);
34 | void fileChangedOnDisk(GFileMonitor *monitor,GFile *file,GFile *other_file,GFileMonitorEvent event_type,gpointer user_data);
35 | void setFilePrefs(pageStruct *page);
36 | void doOpenFile(GtkWidget *widget,gpointer data);
37 | void dropUri(GtkWidget *widget,GdkDragContext *context,gint x,gint y,GtkSelectionData *selection_data,guint info,guint32 time,gpointer user_data);
38 | void recentFileMenu(GtkRecentChooser *chooser,gpointer *data);
39 | void openFromTab(GtkMenuItem *widget,pageStruct *page);
40 |
41 | #endif
42 |
--------------------------------------------------------------------------------
/KKEdit/src/guis.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Sun 25 Oct 14:50:17 GMT 2015 kdhedger68713@gmail.com
4 |
5 | * This file(guis.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _GUIS_
22 | #define _GUIS_
23 |
24 | //MENU_NEW_LABEL gettext("_New")
25 | //#define GTK_STOCK_NEW "document-new"
26 | //hot key
27 | //hot modifier
28 | //hotkey strings
29 | //callbacks
30 | enum {MENUNEW=0,MENUOPEN,MENUOPENHEX,MENUNEWADMIN,MENUNEWED,MENUMANED,MENUDOXY,MENURECENT,MENUSAVE,MENUSAVEAS,MENUSAVEALL,MENUSAVESESSION,MENURESTORESESSION,MENUPRINT,MENUCLOSE,MENUCLOSEALL,MENUREVERT,MENUQUIT,MENUUNDO,MENUREDO,MENUUNDOALL,MENUREDOALL,MENUCUT,MENUCOPY,MENUPASTE,MENUFIND,MENUNEXT,MENUSORTTABS,MENUSHOWTABS,MENUSELECTTAB,MENUPREFS,MENUPLUGPREFS,MENUSHOWDOCS,MENUSHOWBMBAR,MENUHIDEBMBAR,MENUHIDETOOLBAR,MENUSHOWTOOLBAR,MENUHIDETOOLOUT,MENUSHOWTOOLOUT,MENUHIDESTATUS,MENUSHOWSTATUS,MENUSHOWVIEWER, \
31 | MENUTOGGLENUMBERS,MENUWRAPLINES,MENUHILITELINE,MENUSYNTAXHILITE,MENUSHOWSPACE,MENUSHOWCOMPS \
32 | ,MENUGOTODEF,MENUOPENINC,MENUGOTOLINE,MENUSEARCHDEF,MENUSEARCHGTK,MENUSEARCHQT,MENUSEARCHDOXY,MENUBACK,MENUFORWARD,MENUCONTINUE,MENUTOOLS,MENUABOUT,MENULOCALHELP,MENUONLINE,MENUGETPLUGS, \
33 | POPADDCUSTOM,MENUBLANK,MENUSPELLCHECK, \
34 | TABFOLDERPATH,TABFILEPATH,TABFILENAME,TABSPELLCHECK,TABSRCHILITE,TABHIDE,TABLOCK, \
35 | VERTICALCOPY,VERTICALCUT,VERTICALCLEAR \
36 | };
37 |
38 | struct menuDataStruct
39 | {
40 | const char *menuLabel;
41 | const char *stockID;
42 | char key;
43 | long mod;
44 | void *cb;
45 | const char *widgetName;
46 | gpointer userData;
47 |
48 | };
49 |
50 | extern menuDataStruct menuData[];
51 |
52 | enum {AUTOINDENT=0,SHOWNUMS,WRAP,HIGHLIGHT,NOSYNTAX,USESINGLE,AUTOSAVE,NODUPLICATE,NOWARN,READLINK,AUTOSHOW,BEKIND,GLOBALPLUGMENU,AUTOSEARCH,SHOWWHITESPACE,DOCINEDITOR,SHOWMENUICONS,MAXPREFSWIDGETS};
53 | enum {MAXTABCHARS=0,MAXHISTORY,MAXFUNCDEPTH,COMPLETIONSIZE,TABWIDTH,MENUWIDTH,MAXBMWIDTH,NOTETABSSIZE,MAXJUMPHISTORY,SAVEPERIOD,MAXPREFSINTWIDGETS};
54 |
55 | extern GtkWidget *prefsWidgets[MAXPREFSWIDGETS];
56 | extern GObject *prefsIntWidgets[MAXPREFSINTWIDGETS];
57 |
58 | enum {STOCKMENU=0,IMAGEMENU,PIXMAPMENU,NORMALMENU,CHECKMENU};
59 |
60 | enum {ITEMNEW=0,ITEMOPEN,ITEMSAVE,ITEMCUT,ITEMCOPY,ITEMPASTE,ITEMUNDO,ITEMREDO,ITEMFIND,ITEMGOTO,ITEMLINE,ITEMAPI,ITEMDEFINE,ITEMLIVE,ITEMSEPERATOR,ITEMEXPANDER,ITEMQTAPI,ITEMBACK,ITEMFORWARD,MAXITEMS};
61 |
62 | extern GtkWidget *recentToolBar;
63 |
64 | void buildMainGui(void);
65 | void buildTools(void);
66 | void buildFindReplace(void);
67 | void buildWordCheck(int documentCheck);
68 | int showFunctionEntry(void);
69 | #ifdef _BUILDDOCVIEWER_
70 | void buildGtkDocViewer(void);
71 | #endif
72 | void setUpToolBar(void);
73 | char *makeToolBarList(void);
74 | void doPrefs(GtkWidget *widget,gpointer data);
75 | void doMakeTool(void);
76 | GtkWidget* newImageMenuItem(unsigned menunumber,GtkWidget *parent);
77 | GtkWidget* newMenuItem(unsigned menunumber,GtkWidget *parent);
78 | void buildMenus(void);
79 |
80 | #endif
--------------------------------------------------------------------------------
/KKEdit/src/internet.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Tue 28 Jun 10:44:42 BST 2016 kdhedger68713@gmail.com
4 |
5 | * Projects is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * at your option) any later version.
9 |
10 | * Projects is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | GNU General Public License for more details.
14 |
15 | * You should have received a copy of the GNU General Public License
16 | * along with Projects. If not, see .
17 | */
18 |
19 | #include
20 |
21 | #include "config.h"
22 | #include "internet.h"
23 |
24 | #ifndef _USEQT5_
25 | const char *moreapps[]={
26 | "\nMore by the same author\n",
27 | "KKEditQT\nhttps://keithdhedger.github.io/KKEditQT/\n",
28 | "KKEdit\nhttps://keithdhedger.github.io/KKEdit/\n",
29 | "KKTerminal\nhttps://keithdhedger.github.io/pages/kkterminal/kkterminal.html\n",
30 | "KKFileManager\nhttps://github.com/KeithDHedger/KKFileManager\n",
31 | "XDecorations\nhttps://keithdhedger.github.io/pages/xdecorations/xdecorations.html\n",
32 | "Xfce-Theme-Manager\nhttps://keithdhedger.github.io/pages/apps.html#themeed\n",
33 | "Xfce4-Composite-Editor\nhttps://keithdhedger.github.io/pages/apps.html#xfcecomp\n",
34 | "Manpage Editor\nhttps://keithdhedger.github.io/pages/manpageeditor/manpageeditor.html\n",
35 | "GtkSu\nhttps://keithdhedger.github.io/pages/gtksu/gtksu.html\n",
36 | "ASpell GUI\nhttps://keithdhedger.github.io/pages/aspellgui/aspelgui.html\n",
37 | "Clipboard Viewer\nhttps://keithdhedger.github.io/pages/clipviewer/clip.html",
38 | "\nDevelopment versions can be found here:\nhttps://github.com/KeithDHedger"
39 | };
40 |
41 | const char *authors[]={"K.D.Hedger <" MYEMAIL ">",MYWEBSITE,moreapps[0],moreapps[1],moreapps[2],moreapps[3],moreapps[4],moreapps[5],moreapps[6],moreapps[7],moreapps[8],moreapps[9],NULL};
42 | #else
43 | const char *authors="K.D.Hedger ©2013-2023
Email Me
" \
44 | "Homepage" \
45 | "
More by the same author
" \
46 |
47 | "KKEditQT
" \
48 | "KKEdit
" \
49 | "XDecorations
" \
50 | "Xfce-Theme-Manager
" \
51 | "Xfce4-Composite-Editor
" \
52 | "Manpage Editor
" \
53 | "GtkSu
" \
54 | "ASpell
" \
55 | "Clipboard Viewer
" \
56 | "KKFileManager
" \
57 | "KKTerminal
";
58 |
59 | #endif
60 |
--------------------------------------------------------------------------------
/KKEdit/src/internet.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Tue 28 Jun 10:44:42 BST 2016 kdhedger68713@gmail.com
4 |
5 | * Projects is free software: you can redistribute it and/or modify
6 | * it under the terms of the GNU General Public License as published by
7 | * the Free Software Foundation, either version 3 of the License, or
8 | * at your option) any later version.
9 |
10 | * Projects is distributed in the hope that it will be useful,
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 | GNU General Public License for more details.
14 |
15 | * You should have received a copy of the GNU General Public License
16 | * along with Projects. If not, see .
17 | */
18 |
19 | #ifndef _INTERNET_
20 | #define _INTERNET_
21 |
22 | #define MYEMAIL "kdhedger68713@gmail.com"
23 | #define MYWEBSITE "https://keithdhedger.github.io/"
24 | #define GLOBALWEBSITE "https://keithdhedger.github.io"
25 | #define ASPELLPAGE GLOBALWEBSITE "/pages/aspellgui/aspelgui.html"
26 | #define MANPAGEPAGE GLOBALWEBSITE "/pages/manpageeditor/manpageeditor.html"
27 | #define CLIPVIEW GLOBALWEBSITE "/pages/clipviewer/clip.html"
28 | #define THEMEMANAGER GLOBALWEBSITE "/pages/apps.html#themeed"
29 | #define COMPMANAGER GLOBALWEBSITE "/pages/apps.html#xfcecomp"
30 | #define KKEDITPAGE "https://keithdhedger.github.io/KKEdit/"
31 | #define KKEDITPAGEFR "https://keithdhedger.github.io/KKEdit/help.fr.html"
32 | #define KKTERMINALPAGE GLOBALWEBSITE "/pages/kkterminal/kkterminal.html"
33 | #define KKEDITQTPAGE "https://keithdhedger.github.io/KKEditQT/"
34 | #define XDECSPAGE GLOBALWEBSITE "/pages/xdecorations/xdecorations.html"
35 | #define GTKSUPAGE GLOBALWEBSITE "/pages/gtksu/gtksu.html"
36 | #define KKFILEMANAGER "https://github.com/KeithDHedger/KKFileManager"
37 |
38 | #define COPYRITE "Copyright © 2013-2023 K.D.Hedger"
39 |
40 | #ifndef _USEQT5_
41 | extern const char *moreapps[];
42 | extern const char *authors[];
43 | #else
44 | extern const char* authors;
45 | #endif
46 | #endif
47 |
--------------------------------------------------------------------------------
/KKEdit/src/mainpage.dox:
--------------------------------------------------------------------------------
1 | /*!
2 | \mainpage KKedit
3 |
4 | [Graph Legend](graph_legend.html)
5 |
6 | */
--------------------------------------------------------------------------------
/KKEdit/src/navcallbacks.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:50:42 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (navcallbacks.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _NAVCALLBACKS_
22 | #define _NAVCALLBACKS_
23 |
24 | void goToDefine(functionData *fdata);
25 | void goToDefinition(GtkWidget *widget,gpointer data);
26 | void findFile(GtkWidget *widget,gpointer data);
27 | void jumpToLine(GtkWidget *widget,gpointer data);
28 | void gotoLine(GtkWidget *widget,gpointer data);
29 | void jumpToLineFromBar(GtkWidget *widget,gpointer data);
30 | void functionSearch(GtkWidget *widget,gpointer data);
31 | void gotoLine(GtkWidget *widget,gpointer data);
32 | void jumpToMark(GtkWidget *widget,gpointer glist);
33 | void rebuildBookMarkMenu(void);
34 | #ifdef _BUILDDOCVIEWER_
35 | gboolean docLinkTrap(WebKitWebView *web_view,WebKitWebFrame *frame,WebKitNetworkRequest *request,WebKitWebNavigationAction *navigation_action,WebKitWebPolicyDecision *policy_decision, gpointer user_data);
36 | #endif
37 | void rebuildTabsMenu(void);
38 | void gotoLineSavePos(GtkWidget *widget,gpointer data);
39 | void menuJumpBack(GtkWidget *widget,gpointer data);
40 |
41 | #endif
--------------------------------------------------------------------------------
/KKEdit/src/pages.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Tue 17 May 11:57:12 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (pages.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _PAGES_
22 | #define _PAGES_
23 |
24 | struct pageListData
25 | {
26 | pageStruct *page;
27 | GList *list;
28 | int listNum;
29 | };
30 |
31 | extern GList *pages;
32 | extern pageStruct *searchPageStruct;
33 | extern pageStruct *currentPageStruct;
34 |
35 | pageStruct *getPageStructByIDFromList(unsigned pageid);
36 | pageStruct *getPageStructByIDFromPage(int pagenum);
37 | pageListData *getCurrentPageListData(void);
38 | unsigned getIDFromPage(int pagenum);
39 | gboolean verticalSelect(GtkWidget *widget,GdkEvent *event,gpointer page);
40 | void copyVerticalSelection(GtkWidget *widget,gpointer data);
41 | void cutVerticalSelection(GtkWidget *widget,gpointer data);
42 | void clearVerticalSelection(GtkWidget *widget,gpointer data);
43 |
44 | #endif
45 |
--------------------------------------------------------------------------------
/KKEdit/src/pluginclass.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:50:05 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (pluginclass.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #include
22 | #include
23 |
24 | #include "kkedit-includes.h"
25 |
26 | #ifndef _PLUGINCLASS_
27 | #define _PLUGINCLASS_
28 |
29 | #ifndef _PLUGINDATA_
30 | #define _PLUGINDATA_
31 |
32 | struct moduleData
33 | {
34 | char* name;
35 | bool enabled;
36 | GModule* module;
37 | bool loaded;
38 | char* path;
39 | bool unload;
40 | };
41 | #endif
42 |
43 | class PluginClass
44 | {
45 | public:
46 | GList* plugins;
47 | char* plugFolderPaths[2];
48 | plugData* globalPlugData;
49 | int plugCount;
50 | bool doLoadPlugs;
51 |
52 | PluginClass(bool loadPlugs);
53 | ~PluginClass();
54 | void loadPlugins(void);
55 | void setPlugFolder(void);
56 | void appendToWhiteList(char* name);
57 | void deleteWhiteList();
58 | moduleData* getPluginByName(char* name);
59 | char* getPluginPathByName(char* name);
60 | int runPlugFunction(moduleData* pdata,const char* func);
61 | bool enablePlugin(char* name,bool wanttounload);
62 | bool checkForFunction(char* name,const char* func);
63 |
64 | void setUserData(const char *fmt,...);
65 |
66 | private:
67 | GList* plugEnabledList;
68 |
69 | bool checkForEnabled(char* plugname);
70 | void getEnabledList(void);
71 | char* getNameFromModule(GModule* module);
72 | char* getNameFromPath(char* path);
73 | };
74 |
75 | #endif
76 |
--------------------------------------------------------------------------------
/KKEdit/src/plugins.h:
--------------------------------------------------------------------------------
1 | /******************************************************
2 | *
3 | * ©keithhedger Wed 23 Jul 15:34:30 BST 2014
4 | * kdhedger68713@gmail.com
5 | *
6 | * plugins.h
7 | *
8 | ******************************************************/
9 |
10 | #ifndef _PLUGINSTUFF_
11 | #define _PLUGINSTUFF_
12 |
13 | void doPlugPrefs(GtkWidget* widget,gpointer data);
14 | void showSide(bool left);
15 | void hideSide(bool left);
16 | void showTop(bool left);
17 | void hideTop(bool left);
18 |
19 | #endif
20 |
--------------------------------------------------------------------------------
/KKEdit/src/scripting.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Thu 6 Oct 12:10:04 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (scripting.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _SCRIPTING_
22 | #define _SCRIPTING_
23 |
24 | #define MAX_MSG_SIZE 1024
25 |
26 | #define ALLOK 0
27 | #define UNKNOWNARG 1
28 | #define NOMAKEQUEUE 2
29 | #define NOSENDMSG 3
30 | #define WAIT_MSG 0
31 |
32 | #define MSGANY 0
33 | #define MSGSEND 2
34 | #define MSGRECEIVE 1
35 |
36 | struct msgStruct
37 | {
38 | long mType;
39 | char mText[MAX_MSG_SIZE];
40 | };
41 |
42 | extern bool waitForFinish;
43 | extern bool waitForUserContinue;
44 | extern int queueID;
45 | extern const char *commandList[];
46 |
47 | void createQueue(void);
48 | void getMsg(void);
49 | void sendOK(void);
50 | void sendContinue(void);
51 |
52 | #endif
53 |
--------------------------------------------------------------------------------
/KKEdit/src/searchcallbacks.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:50:29 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (searchcallbacks.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _FUNCCALLBACKS_
22 | #define _FUNCCALLBACKS_
23 |
24 | #ifdef _BUILDDOCVIEWER_
25 | void webKitGoBack(GtkWidget *widget,gpointer data);
26 | void webKitGoForward(GtkWidget *widget,gpointer data);
27 | void webKitGoHome(GtkWidget *widget,gpointer data);
28 | void docSearchInPageFoward(GtkWidget *widget,gpointer data);
29 | void docSearchInPageBack(GtkWidget *widget,gpointer data);
30 | #endif
31 |
32 | void doFindReplace(GtkDialog *dialog,gint response_id,gpointer user_data);
33 | void find(GtkWidget *widget,gpointer data);
34 | void findNext(GtkWidget *widget,gpointer data);
35 | void doSearchPrefs(GtkWidget *widget,gpointer data);
36 | void docSearchFromBar(GtkWidget *widget,gpointer data);
37 | bool defSearchFromBar(GtkWidget *widget,gpointer data);
38 | void doLiveSearch(GtkWidget *widget,GdkEvent *event,gpointer data);
39 | void basicFind(int dowhat);
40 | void regexFind(int dowhat);
41 | bool searchQT5Docs(GtkWidget *widget,gpointer data);
42 | void searchQT5Assist(GtkWidget *widget,gpointer data);
43 | void qt5DocSearchFromBar(GtkWidget *widget,gpointer data);
44 | bool searchGtkDocs(GtkWidget *widget,gpointer data);
45 | void showDocView(int howtodisplay,char *text,const char *title);
46 | void doDoxy(GtkWidget *widget,long data);
47 | void doxyDocs(GtkWidget *widget,gpointer data);
48 |
49 | #endif
--------------------------------------------------------------------------------
/KKEdit/src/sliceclass.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:49:32 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (sliceclass.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _SLICECLASS_
22 | #define _SLICECLASS_
23 |
24 | #define NUMHTMLENTRIES 252
25 | enum errorCodes {NOERROR=0,NOMATCH,NULLSRC,MULTMATCH};
26 |
27 | /**
28 | *
29 | *
30 | * \brief String slicing
31 | *
32 | * General purpose string slicing class.
33 | *
34 | * \note Returns a pointer to a static buffer DO NOT FREE!
35 | * \note Check error with getResult(), return value can be used as source for next call.
36 | *
37 | *
38 | */
39 |
40 | class StringSlice
41 | {
42 | public:
43 | StringSlice();
44 | ~StringSlice();
45 |
46 | char *sliceBetween(char* src,char* startstr,char* endstr);
47 | char *sliceInclude(char* src,char* startstr,char* endstr);
48 | char *sliceLen(char* src,int start,int len);
49 | char *slice(char* src,int start,int end);
50 | char *sliceStrLen(char* src,char* startstr,int len);
51 | char *deleteSlice(char* src,char* delstr);
52 | char *replaceSlice(char* src,char* findstr,char* replacestr);
53 | char *replaceAllSlice(char* src,char* findstr,char* replacestr);
54 | void setCaseless(bool caseval);
55 | void copyToBuffer(const char* str);
56 | int getResult(void);
57 | void setReturnDupString(bool want);
58 | char *decodeHtml(char* src);
59 | char *randomName(int len);
60 | bool getDuplicate(void);
61 | private:
62 | void checkBufferLen(char* str);
63 | void checkBufferLen(int size);
64 | char *returnData(char* str);
65 | char *buffer;
66 | bool caseless;
67 | int error;
68 | bool duplicate;
69 | unsigned bufferlen;
70 | unsigned replaceAllOffset;
71 | };
72 |
73 | #endif
74 |
75 |
--------------------------------------------------------------------------------
/KKEdit/src/spellcheck.h:
--------------------------------------------------------------------------------
1 | /******************************************************
2 | *
3 | * ©keithhedger Tue 16 Jul 20:46:19 BST 2013
4 | * kdhedger68713@gmail.com
5 | *
6 | * spellcheck.h
7 | *
8 | ******************************************************/
9 |
10 | #ifndef _SPELLCHECK_
11 | #define _SPELLCHECK_
12 | #ifdef _ASPELL_
13 |
14 | void checkWord(GtkWidget* widget,gpointer data);
15 | void doChangeWord(GtkWidget* widget,gpointer data);
16 | void doAddIgnoreWord(GtkWidget* widget,gpointer data);
17 | void doSpellCheckDoc(GtkWidget* widget,gpointer data);
18 | void doCancelCheck(GtkWidget* widget,gpointer data);
19 |
20 | #endif
21 | #endif
22 |
--------------------------------------------------------------------------------
/KKEdit/src/textbuffer.cpp:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Sun 25 Oct 14:53:40 GMT 2015 kdhedger68713@gmail.com
4 |
5 | * This file (textbuffer.cpp) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #include "globals.h"
22 |
23 | TextBuffer::TextBuffer()
24 | {
25 | this->textBuffer=NULL;
26 | ERRDATA
27 | }
28 |
29 | TextBuffer::~TextBuffer()
30 | {
31 | }
32 |
33 | TextBuffer::TextBuffer(GtkTextBuffer *buffer)
34 | {
35 | ERRDATA
36 | this->textBuffer=buffer;
37 | this->getLineData();
38 | this->getVisibleLine();
39 | this->getLine();
40 | ERRDATA
41 | }
42 |
43 | char* TextBuffer::getLineText(void)
44 | {
45 | this->getLineData();
46 | return(gtk_text_buffer_get_text(this->textBuffer,&lineStart,&lineEnd,false));
47 | }
48 |
49 | void TextBuffer::getLineData()
50 | {
51 | ERRDATA
52 | gtk_text_buffer_get_iter_at_mark(textBuffer,&lineStart,gtk_text_buffer_get_insert(textBuffer));
53 | gtk_text_buffer_get_iter_at_mark(textBuffer,&lineEnd,gtk_text_buffer_get_insert(textBuffer));
54 | gtk_text_iter_forward_visible_line(&lineEnd);
55 | gtk_text_iter_set_line_offset(&lineStart,0);
56 | gtk_text_buffer_get_iter_at_mark(textBuffer,&cursorPos,gtk_text_buffer_get_insert(textBuffer));
57 | lineNum=gtk_text_iter_get_line(&cursorPos)+1;
58 | column=gtk_text_iter_get_line_offset(&cursorPos)+1;
59 | charPos=gtk_text_iter_get_offset(&cursorPos);
60 | ERRDATA
61 | }
62 |
63 | void TextBuffer::getCursorIter()
64 | {
65 | ERRDATA gtk_text_buffer_get_iter_at_mark(textBuffer,&cursorPos,gtk_text_buffer_get_insert(textBuffer));
66 | }
67 |
68 | void TextBuffer::getToLineEnd()
69 | {
70 | ERRDATA
71 | this->getCursorIter();
72 | lineEnd=cursorPos;
73 | gtk_text_iter_forward_to_line_end(&lineEnd);
74 | ERRDATA
75 | }
76 |
77 | void TextBuffer::getToVisibleLineEnd()
78 | {
79 | ERRDATA
80 | this->getCursorIter();
81 | visibleLineEnd=cursorPos;
82 | gtk_text_iter_forward_to_line_end(&visibleLineEnd);
83 | ERRDATA
84 | }
85 |
86 | void TextBuffer::getToLineStart()
87 | {
88 | ERRDATA
89 | this->getCursorIter();
90 | lineStart=cursorPos;
91 | gtk_text_iter_set_line_offset(&lineStart,0);
92 | ERRDATA
93 | }
94 |
95 | void TextBuffer::deleteFromCursor(GtkTextIter *iter)
96 | {
97 | ERRDATA
98 | this->getCursorIter();
99 | if(!gtk_text_iter_ends_line(&cursorPos))
100 | gtk_text_buffer_delete(textBuffer,&cursorPos,iter);
101 | ERRDATA
102 | }
103 |
104 | void TextBuffer::deleteToCursor(GtkTextIter *iter)
105 | {
106 | ERRDATA
107 | this->getCursorIter();
108 | if(!gtk_text_iter_starts_line(&cursorPos))
109 | this->deleteFromCursor(iter);
110 | ERRDATA
111 | }
112 |
113 | bool TextBuffer::selectWord()
114 | {
115 | ERRDATA
116 | this->getCursorIter();
117 | lineStart=cursorPos;
118 | if(gtk_text_iter_inside_word(&cursorPos))
119 | {
120 | gtk_text_iter_backward_word_start(&lineStart);
121 | gtk_text_iter_forward_word_end(&cursorPos);
122 | ERRDATA return(true);
123 | }
124 | ERRDATA return(false);
125 | }
126 |
127 | char *TextBuffer::getSelectedText()
128 | {
129 | ERRDATA return(gtk_text_buffer_get_text(textBuffer,&lineStart,&lineEnd,true));
130 | }
131 |
132 | void TextBuffer::selectRange(GtkTextIter *start,GtkTextIter *end)
133 | {
134 | ERRDATA gtk_text_buffer_select_range(textBuffer,start,end);
135 | }
136 |
137 |
138 | void TextBuffer::getVisibleLine()
139 | {
140 | ERRDATA
141 | this->getCursorIter();
142 | lineStart=cursorPos;
143 | visibleLineEnd=cursorPos;
144 | gtk_text_iter_set_line_offset(&lineStart,0);
145 | gtk_text_iter_forward_to_line_end(&visibleLineEnd);
146 | ERRDATA
147 | }
148 |
149 | void TextBuffer::selectVisibleLine()
150 | {
151 | ERRDATA gtk_text_buffer_select_range(textBuffer,&lineStart,&visibleLineEnd);
152 | }
153 |
154 | void TextBuffer::getLine()
155 | {
156 | ERRDATA
157 | this->getCursorIter();
158 | lineStart=cursorPos;
159 | gtk_text_iter_set_line_offset(&lineStart,0);
160 | lineEnd=cursorPos;
161 | gtk_text_iter_forward_visible_line(&lineEnd);
162 | ERRDATA
163 | }
164 |
165 | void TextBuffer::selectLine()
166 | {
167 | ERRDATA gtk_text_buffer_select_range(textBuffer,&lineStart,&lineEnd);
168 | }
169 |
170 | void TextBuffer::selectToLineStart()
171 | {
172 | ERRDATA
173 | this->getToLineStart();
174 | gtk_text_buffer_select_range(textBuffer,&lineStart,&cursorPos);
175 | ERRDATA
176 | }
177 |
178 | void TextBuffer::selectToLineEnd()
179 | {
180 | ERRDATA
181 | this->getToVisibleLineEnd();
182 | gtk_text_buffer_select_range(textBuffer,&cursorPos,&visibleLineEnd);
183 | ERRDATA
184 | }
185 |
186 | void TextBuffer::scroll2CentreScreen(GtkTextView *view,bool doupdate)
187 | {
188 | GtkTextMark *mark;
189 | GtkTextIter iter;
190 |
191 | mark=gtk_text_buffer_get_insert(this->textBuffer);
192 | gtk_text_buffer_get_iter_at_mark(this->textBuffer,&iter,mark);
193 | gtk_text_view_scroll_to_iter(view,&iter,0,true,0,0.5);
194 | if(doupdate==true)
195 | {
196 | while(gtk_events_pending())
197 | gtk_main_iteration();
198 | }
199 | }
200 |
201 | void TextBuffer::scroll2OnScreen(GtkTextView *view)
202 | {
203 | GtkTextMark *mark;
204 | GtkTextIter iter;
205 |
206 | mark=gtk_text_buffer_get_insert(this->textBuffer);
207 | gtk_text_buffer_get_iter_at_mark(this->textBuffer,&iter,mark);
208 |
209 | #ifndef _USEGTK3_
210 | bool didscroll;
211 | didscroll=gtk_text_view_scroll_to_iter(view,&iter,0.05,false,0,0);
212 | if(didscroll==true)
213 | #else
214 | gtk_text_view_scroll_to_iter(view,&iter,0.05,false,0,0);
215 | #endif
216 | gtk_text_view_scroll_mark_onscreen(view,mark);
217 | }
218 |
219 | void TextBuffer::scroll2Line(GtkTextView *view,int linenum,bool doupdate)
220 | {
221 | ERRDATA
222 | GtkTextMark *mark;
223 | GtkTextIter iter;
224 |
225 | gtk_text_buffer_get_iter_at_line_offset(textBuffer,&iter,linenum,0);
226 | gtk_text_buffer_place_cursor(textBuffer,&iter);
227 | mark=gtk_text_buffer_get_insert(textBuffer);
228 | gtk_text_view_scroll_to_mark(view,mark,0,true,0,0.5);
229 | if(doupdate==true)
230 | {
231 | while(gtk_events_pending())
232 | gtk_main_iteration();
233 | }
234 | ERRDATA
235 | }
236 |
237 | void TextBuffer::scroll2Mark(GtkTextView *view,GtkTextMark *mark)
238 | {
239 | ERRDATA
240 | gtk_text_buffer_get_iter_at_mark(textBuffer,&cursorPos,mark);
241 | gtk_text_view_scroll_to_iter(view,&cursorPos,0,true,0,0.5);
242 | gtk_text_view_scroll_to_mark(view,mark,0,true,0,0.5);
243 | ERRDATA
244 | }
245 |
246 | void TextBuffer::scroll2Iter(GtkTextView *view,GtkTextIter iter)
247 | {
248 | ERRDATA gtk_text_view_scroll_to_iter(view,&iter,0,true,0,0.5);
249 | }
250 |
251 | void TextBuffer::getSelectionBounds(void)
252 | {
253 | bool gotbounds=false;
254 | GtkTextIter start;
255 | GtkTextIter end;
256 |
257 | gotbounds=gtk_text_buffer_get_selection_bounds(this->textBuffer,&start,&end);
258 | if(gotbounds==true)
259 | {
260 | this->selectionStart=gtk_text_iter_get_offset(&start);
261 | this->selectionEnd=gtk_text_iter_get_offset(&end);
262 | }
263 | else
264 | {
265 | this->selectionStart=-1;
266 | this->selectionEnd=-1;
267 | }
268 | }
269 |
270 |
271 |
--------------------------------------------------------------------------------
/KKEdit/src/textbuffer.h:
--------------------------------------------------------------------------------
1 | /*
2 | *
3 | * ©K. D. Hedger. Fri 6 May 10:50:15 BST 2016 kdhedger68713@gmail.com
4 |
5 | * This file (textbuffer.h) is part of KKEdit.
6 |
7 | * KKEdit is free software: you can redistribute it and/or modify
8 | * it under the terms of the GNU General Public License as published by
9 | * the Free Software Foundation, either version 3 of the License, or
10 | * at your option) any later version.
11 |
12 | * KKEdit is distributed in the hope that it will be useful,
13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 | GNU General Public License for more details.
16 |
17 | * You should have received a copy of the GNU General Public License
18 | * along with KKEdit. If not, see .
19 | */
20 |
21 | #ifndef _TEXTBUFFERCLASS_
22 | #define _TEXTBUFFERCLASS_
23 |
24 | class TextBuffer
25 | {
26 | public:
27 | TextBuffer();
28 | ~TextBuffer();
29 | TextBuffer(GtkTextBuffer *buffer);
30 |
31 | GtkTextIter lineStart;
32 | GtkTextIter lineEnd;
33 | GtkTextIter visibleLineEnd;
34 | GtkTextIter cursorPos;
35 | GtkTextBuffer *textBuffer;
36 |
37 | unsigned lineNum;
38 | int numChars;
39 | int column;
40 | int charPos;
41 |
42 | int selectionStart;
43 | int selectionEnd;
44 |
45 | void getLineData(void);
46 |
47 | void getVisibleLine(void);
48 | void selectVisibleLine(void);
49 | void getLine(void);
50 | void selectLine(void);
51 |
52 | void getCursorIter(void);
53 |
54 | void getToLineEnd(void);
55 | void getToVisibleLineEnd(void);
56 | void deleteFromCursor(GtkTextIter *iter);
57 |
58 | void getToLineStart(void);
59 | void deleteToCursor(GtkTextIter *iter);
60 |
61 | void selectToLineStart(void);
62 | void selectToLineEnd(void);
63 | bool selectWord(void);
64 | char *getSelectedText(void);
65 | void selectRange(GtkTextIter *start,GtkTextIter *end);
66 |
67 | void scroll2Line(GtkTextView *view,int linenum,bool doupdate=false);
68 | void scroll2Mark(GtkTextView *view,GtkTextMark *mark);
69 | void scroll2Iter(GtkTextView *view,GtkTextIter iter);
70 | void scroll2OnScreen(GtkTextView *view);
71 | void scroll2CentreScreen(GtkTextView *view,bool doupdate);
72 |
73 | char *getLineText(void);
74 | void getSelectionBounds(void);
75 |
76 | private:
77 | };
78 |
79 | #endif
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/BrowserPlugin/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = browserplugin
2 | SONAME = libbrowserplugin
3 | SRCFILES = $(PLUGNAME).cpp
4 |
5 | AUTOMAKE_OPTIONS = subdir-objects
6 |
7 | all:
8 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) $(WEBKIT_CFLAGS) $(WEBKIT_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -o $(PLUGNAME).o
9 |
10 | gcc -nodefaultlibs -shared -Wl,-rpath=/usr/local/lib/gcc49,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
11 |
12 |
13 | clean: distclean
14 |
15 | distclean:
16 | rm -f *.o *.so Makefile||true
17 |
18 | install: all
19 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
20 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
21 | cp po/fr_FR/LC_MESSAGES/$(PLUGNAME).mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/BrowserPlugin/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | loadPage;
6 | plugPrefs;
7 | g_module_unload;
8 | g_module_check_init;
9 |
10 | local: *;
11 |
12 | };
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/BrowserPlugin/po/fr_FR/LC_MESSAGES/browserplugin.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/BrowserPlugin/po/fr_FR/LC_MESSAGES/browserplugin.mo
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/Debugger.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the Debugger package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: Debugger 1.2\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2018-02-11 13:22+0000\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 |
20 | #: debugger.cpp:160
21 | msgid "Clipboard Plugin - Add's multiple clips"
22 | msgstr ""
23 |
24 | #: debugger.cpp:161
25 | msgid "French Translation"
26 | msgstr ""
27 |
28 | #: debugger.cpp:166
29 | msgid "Clipboard Plugin"
30 | msgstr ""
31 |
32 | #: ../common.h:29
33 | msgid "Apply"
34 | msgstr ""
35 |
36 | #: ../common.h:30
37 | msgid "Cancel"
38 | msgstr ""
39 |
40 | #: ../common.h:31
41 | msgid "New"
42 | msgstr ""
43 |
44 | #: ../common.h:32
45 | msgid "Help"
46 | msgstr ""
47 |
48 | #: ../common.h:33
49 | msgid "Open"
50 | msgstr ""
51 |
52 | #: ../common.h:34
53 | msgid "Connect"
54 | msgstr ""
55 |
56 | #: ../common.h:35
57 | msgid "OK"
58 | msgstr ""
59 |
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/Debugger_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/Debugger_fr_FR.po
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/Makefile.am:
--------------------------------------------------------------------------------
1 | PLUGNAME = debugger
2 | SONAME = libdebugger
3 | SRCFILES = $(PLUGNAME).cpp
4 | USERDIR=~/.KKEdit$(GTK3SUFFIX)/plugins-gtk
5 |
6 | AUTOMAKE_OPTIONS = subdir-objects
7 |
8 | all:
9 | gcc ${EXTRAMAKEFLAGS} $(CONFCXXFLAGS) $(CONFCPPFLAGS) $(CONFLDFLAGS) -fPIC -Wall -g -c $(SRCFILES) $(GLIB_CFLAGS) $(GLIB_LIBS) $(GTK_CFLAGS) $(GTK_LIBS) $(GTKSRC_CFLAGS) $(GTKSRC_LIBS) -DLOCALEDIR=\"${localedir}\" -DDATADIR=\"${pkgdatadir}\" $(DEVMODE) $(USEGTK3) -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -D_RESOURCES_=\"$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk/$(PLUGNAME)/resources/\" -o $(PLUGNAME).o
10 |
11 | gcc -nodefaultlibs -shared -Wl,-rpath=/usr/local/lib/gcc49,--version-script=exportmap,-soname,$(SONAME).so -o $(SONAME).so $(PLUGNAME).o -lc
12 |
13 | clean: distclean
14 |
15 | distclean:
16 | rm -f *.o *.so Makefile||true
17 |
18 | install: all
19 | mkdir -vp $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk/$(PLUGNAME)/resources
20 | cp $(SONAME).so $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk
21 | cp po/fr_FR/LC_MESSAGES/Debugger.mo $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES
22 | cp -r resources $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)/plugins-gtk/$(PLUGNAME)
23 |
24 | install-user:
25 | mkdir -vp $(USERDIR) $(USERDIR)/locale/fr_FR/LC_MESSAGES $(USERDIR)/$(PLUGNAME)/resources
26 | cp po/fr_FR/LC_MESSAGES/Debugger.mo $(USERDIR)/locale/fr_FR/LC_MESSAGES
27 | cp -r resources $(USERDIR)/$(PLUGNAME)/
28 |
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/exportmap:
--------------------------------------------------------------------------------
1 | {
2 | global: addToGui;
3 | doAbout;
4 | enablePlug;
5 | plugPrefs;
6 | g_module_unload;
7 | g_module_check_init;
8 |
9 | local: *;
10 |
11 | };
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/finish.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/finish.xcf
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=Debugger
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot debugger.cpp ../common.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/po/fr_FR/LC_MESSAGES/Debugger.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/po/fr_FR/LC_MESSAGES/Debugger.mo
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/backtrace.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/backtrace.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/breakpoint.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/breakpoint.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/continue.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/continue.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/debug.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/debug.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/endloop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/endloop.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/exit.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/exit.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/finish.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/finish.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/interupt.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/interupt.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/into.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/into.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/next.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/next.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/open.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/outof.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/outof.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/query.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/query.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/set.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/set.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/resources/unset.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/KKEdit/unstable-plugins/DebuggerPlugin/resources/unset.png
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/DebuggerPlugin/tdata:
--------------------------------------------------------------------------------
1 | ptype windowInitStruct
2 | type = struct windowInitStruct {
3 | int x;
4 | int y;
5 | int w;
6 | int h;
7 | const char *name;
8 | bool overRide;
9 | bool loadVars;
10 | bool shutDisplayOnExit;
11 | const char *windowType;
12 | bool decorated;
13 | int level;
14 | }
15 |
16 | select=15
17 | info windowInitStruct
18 | Undefined info command: "windowInitStruct". Try "help info".
19 |
20 | select=15
21 | whatis windowInitStruct
22 | type = windowInitStruct
23 |
24 | select=15
25 | whatis wc
26 | type = LFSTK_windowClass *
27 |
28 | select=15
29 | whatis wi
30 | type = windowInitStruct *
31 |
32 | select=15
33 | whatis diskInfoPath
34 | type = char *
35 |
36 | select=15
37 | whatis LFSTK_windowClass
38 | type = LFSTK_windowClass
39 |
40 |
41 | select=15
42 | whatis msgBuffer
43 | type = msgBuffer
44 |
45 | select=15
46 | whatis buffer
47 | type = msgBuffer
48 |
49 | select=15
50 | ptype buffer
51 | type = struct msgBuffer {
52 | long mType;
53 | char mText[256];
54 | }
55 |
56 | select=15
57 | ptype wi->overRide
58 | type = bool
59 |
60 | select=15
61 | ptype wi->overRide
62 | type = bool
63 |
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/common.h:
--------------------------------------------------------------------------------
1 | ../plugins/common.h
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/config.h:
--------------------------------------------------------------------------------
1 | ../../config.h
--------------------------------------------------------------------------------
/KKEdit/unstable-plugins/kkedit-plugins.h:
--------------------------------------------------------------------------------
1 | ../src/kkedit-plugins.h
--------------------------------------------------------------------------------
/Makefile.am:
--------------------------------------------------------------------------------
1 |
2 | export GLOBAL = 1
3 | export VTEVERSION = $(VTEVERS)
4 | export CONFCXXFLAGS = $(CXXFLAGS)
5 | export CONFCPPFLAGS = $(CPPFLAGS)
6 | export CONFLDFLAGS = $(LDFLAGS)
7 |
8 | SUBDIRS = KKEdit/app $(PLUGDIRS) $(NEWPLUGINCLUDES)
9 |
10 | remake:
11 | $(shell ./remakesourcelist)
12 |
13 | uninstall-hook:
14 | rm -f $(DESTDIR)${prefix}/share/applications/KKEdit$(GTK3SUFFIX).desktop||true
15 | rm -f $(DESTDIR)${prefix}/share/applications/KKEditRoot$(GTK3SUFFIX).desktop||true
16 | rm -f $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEdit$(GTK3SUFFIX).png||true
17 | rm -f $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEditRoot$(GTK3SUFFIX).png||true
18 | rm -f $(DESTDIR)${prefix}/share/icons/hicolor/128x128/apps/KKEditPlug$(GTK3SUFFIX).png||true
19 | rm -f $(DESTDIR)${prefix}/share/pixmaps/KKEdit$(GTK3SUFFIX).png||true
20 | rm -f $(DESTDIR)${prefix}/share/pixmaps/KKEditRoot$(GTK3SUFFIX).png||true
21 | rm -f $(DESTDIR)${prefix}/share/pixmaps/KKEditPlug$(GTK3SUFFIX).png||true
22 | rm -f $(DESTDIR)${prefix}/share/pixmaps/KKEditPlugMenu$(GTK3SUFFIX).png||true
23 | rm -fr $(DESTDIR)$(pkgdatadir)$(GTK3SUFFIX)||true
24 | rm -fr $(DESTDIR)${localedir}/fr_FR/LC_MESSAGES/kkedit$(GTK3SUFFIX).mo||true
25 | rm -f $(DESTDIR)${includedir}/kkedit-plugins$(GTK3SUFFIX).h||true
26 |
27 | update-icons:
28 | gtk-update-icon-cache -q -t -f ${prefix}/share/icons/hicolor
29 |
30 | make-deb:
31 | @rm -f /tmp/kkedit$(GTK3SUFFIX)-$(VERSION).deb || true
32 | @mkdir -vp /tmp/deb/
33 | @mkdir -vp /tmp/deb/control
34 | @make install DESTDIR=/tmp/deb/data
35 | @mkdir -p /tmp/deb/data/usr/share/polkit-1/actions
36 | @cp packages/debian/org.freedesktop.policykit.kkedit.policy /tmp/deb/data/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
37 | @sed -i 's@<>@kkedit$(GTK3SUFFIX)@g' /tmp/deb/data/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
38 | @cp packages/debian/control$(GTK3SUFFIX) /tmp/deb/control/control
39 | @/bin/sed -i "s/Installed-Size: /Installed-Size: `du -s "/tmp/deb/data"|awk '{print $$1}'`/" "/tmp/deb/control/control"
40 | @/bin/sed -i "s/Version: /Version: $(VERSION)/" "/tmp/deb/control/control"
41 | @echo "2.0" > /tmp/deb/debian-binary
42 | @tar -C /tmp/deb/data -cvaf /tmp/deb/data.tar.xz .
43 | @tar -C /tmp/deb/control -cvaf /tmp/deb/control.tar.xz .
44 | @ar r /tmp/deb/kkedit$(GTK3SUFFIX)-$(VERSION).deb /tmp/deb/debian-binary /tmp/deb/control.tar.xz /tmp/deb/data.tar.xz
45 | mv /tmp/deb/kkedit$(GTK3SUFFIX)-$(VERSION).deb /tmp
46 | @rm -rf /tmp/deb/
47 |
48 | #No doc viewer gtk3 only
49 | make-rpm-fedora:
50 | @rm -f kkedit*.rpm
51 | @make install DESTDIR=/tmp/rpm
52 | @mkdir -p /tmp/rpm/usr/share/polkit-1/actions
53 | @cp packages/debian/org.freedesktop.policykit.kkedit.policy /tmp/rpm/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
54 | @sed -i 's@<>@kkedit$(GTK3SUFFIX)@g' /tmp/rpm/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
55 | @fpm -s dir -t rpm -C /tmp/rpm --name kkedit-3 --version $(VERSION) --iteration 1 --depends gtksourceview3 --depends ctags --depends vte291 --depends aspell --depends aspell-en --description "KKEdit Code Text Editor" --maintainer "K. D. Hedger. " --rpm-dist "fedora" .
56 |
57 | mv kkedit-3-*.rpm /tmp
58 | @rm -rf /tmp/rpm
59 |
60 | make-rpm-opensuse:
61 | @rm -f kkedit*.rpm
62 | @make install DESTDIR=/tmp/rpm
63 | @mkdir -p /tmp/rpm/usr/share/polkit-1/actions
64 | @cp packages/debian/org.freedesktop.policykit.kkedit.policy /tmp/rpm/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
65 | @sed -i 's@<>@kkedit$(GTK3SUFFIX)@g' /tmp/rpm/usr/share/polkit-1/actions/org.freedesktop.policykit.kkedit$(GTK3SUFFIX).policy
66 | @fpm -s dir -t rpm -C /tmp/rpm --name kkedit-3 --version $(VERSION) --iteration 1 --depends libgtksourceview-3_0-1 --depends ctags --depends libvte-2_91-0 --depends aspell --depends aspell-en --description "KKEdit Code Text Editor" --maintainer "K. D. Hedger. " --rpm-dist "opensuse" .
67 | mv kkedit-3-*.rpm /tmp
68 | @rm -rf /tmp/rpm
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/NEWS:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/NEWS
--------------------------------------------------------------------------------
/README:
--------------------------------------------------------------------------------
1 | This is a TEXT editor and although it can open some files that include binary data, it may not show the correct text, if you want a binary editor I would suggest you use somthing from here:
2 | http://en.wikipedia.org/wiki/Comparison_of_hex_editors
3 | Or you can use vim, see the man page on your system.
4 |
5 | See the INSTALL file for details about installing and dependencies.
6 |
7 | Bugs and suggestions welcome please email to kdhedger68713@gmail.com
8 | For general info on compiling/installing software on your disro see the relevant forums.
9 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | **KKEdit Source Code Editor.**
2 | !!!PLEASE NOTE!!!
3 | This project has now been superseded by a QT5 version KKEditQT available here:
4 | [Full details and screenshots:](https://github.com/KeithDHedger/KKEditQT)
5 | Please use the QT version which is still under active development and has almost all the features of this project.
6 | This project is now in maintenance mode only and I will not be accepting suggestions etc, only bugs.
7 |
8 | 
9 |
10 | [Full details and screenshots:](http://kkedit.freeddns.org)
11 |
12 | Why another text editor?
13 |
14 | Simple, I didn't like any of the others, anyway having used gedit for years it was getting increasingly difficult to keep it compiling without loads of gnome dependencies, looking around Linux text editors seem to be VERY simple (leafpad) stupidly complex (GVim,Bluefish), trying to be all things to all people.
15 | One of the best text editors I have used is BBEdit but that is only available on the mac, so I bit the bullet and decided to write my own with the best bits from BBEdit ( the name KKEdit is a tip of the hat to BBEdit ), gedit and leafpad. A simple uncluttered interface, no major dependencies, with just the features I use all the time, and TA DAH! KKEdit.
16 |
17 | Some of the features:
18 | Jump to function declaration.
19 | Find Function declaration.
20 | Find and open include file.
21 | Multiple bookmarks.
22 | Run external tools.
23 | Save/Restore session.
24 | Run external tool synchronously or asynchronously.
25 | Pass selected text to external tools.
26 |
27 | Find API declarations in installed Gtk-Doc's.
28 |
29 | Full source code highlighted printing
30 |
31 | + The usual source view options, line wrap, line numbers etc.
32 |
33 | Ported to gtk3.
34 |
35 | Add --enable-gtk3 to your configure to build for gtk3.
36 |
37 | Default is to build for gtk2
38 | You may need to install gtk3 dev files if your distro splits them off from the main package ( debian etc ).
39 |
40 | *bsd* compile abandoned for the moment as webkit is broken on freeports, can be used with --disable-docviewer.
41 |
42 | + When building from a fesh clone for the first time, please use ./autogen.sh instead of ./configure, args passed to autogen.sh are the same for configure, this only needs to be done on a fresh clone
43 |
--------------------------------------------------------------------------------
/autogen.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | ./remakesourcelist
4 | aclocal
5 | autoheader
6 | touch NEWS README AUTHORS ChangeLog
7 | automake --add-missing --copy
8 | autoconf
9 | ./configure $@
10 |
11 |
--------------------------------------------------------------------------------
/configure.ac:
--------------------------------------------------------------------------------
1 | #
2 | #
3 | AC_INIT([KKEdit],[0.4.6],[PROJ],[KKEdit])
4 |
5 | AC_CONFIG_HEADER([config.h])
6 | AC_PROG_CXX
7 |
8 | AM_INIT_AUTOMAKE
9 |
10 | AC_PROG_CC
11 | AC_HEADER_STDC
12 |
13 | X11_MODULES="x11 >= 1.0.0"
14 | PKG_CHECK_MODULES(X11, $X11_MODULES)
15 | AC_SUBST(X11_LIBS)
16 | AC_SUBST(X11_CFLAGS)
17 |
18 | AC_MSG_CHECKING(whether to use gtk3)
19 | AC_ARG_ENABLE(gtk3,
20 | [ --enable-gtk3 Use GTK3.],
21 | [enable_gtk3=$enableval],
22 | [enable_gtk3="no"])
23 | AC_MSG_RESULT($enable_gtk3)
24 | if test "$enable_gtk3" = "yes"; then
25 | AC_DEFINE([_USEGTK3_], [], [Use GTK3])
26 | AC_DEFINE([_EXECSUFFIX_], ["-3"], [Use GTK3])
27 | GTK_MODULES="gtk+-3.0 >= 3.18.0"
28 | GTKSRC_MODULES="gtksourceview-3.0 >= 3.18.0"
29 | program_transform_name='s,\(^[[kK]].*t.*\),\1-3,'
30 | PLUGVERSION=3
31 | GTK3SUFFIX=-3
32 | GTKVERSION=3
33 | else
34 | GTK_MODULES="gtk+-2.0 >= 2.24.0"
35 | GTKSRC_MODULES="gtksourceview-2.0 >= 2.9.9"
36 | AC_DEFINE([_EXECSUFFIX_], [""], [Use GTK3])
37 | PLUGVERSION=2
38 | GTKVERSION=2
39 | GTK3SUFFIX=
40 | fi
41 |
42 | AC_MSG_CHECKING(Build/Install plugins)
43 | AC_ARG_ENABLE(plugins,AS_HELP_STRING([--enable-plugins],[Build/Install plugins]),[enable_plugs=$enableval],[enable_plugs="yes"])
44 | AC_MSG_RESULT($enable_plugs)
45 | if test "$enable_plugs" = "yes"; then
46 | PLUGDIRS="KKEdit/plugins/TerminalPane KKEdit/plugins/SessionManager KKEdit/plugins/FileBrowser KKEdit/plugins/Clipboard KKEdit/plugins/SymbolMenu"
47 | if test "$enable_gtk3" = "yes"; then
48 | AC_MSG_CHECKING(Finding vte version)
49 | PKG_CHECK_EXISTS(vte-2.91,[usevte=91],[usevte=90])
50 | if test $usevte = 91; then
51 | VTE_MODULES="vte-2.91 >= 0.40.0"
52 | VTEVERS="-2.91"
53 | AC_MSG_RESULT(using $VTEVERS)
54 | else
55 | VTE_MODULES="vte-2.90 >= 0.29.1"
56 | VTEVERS="-2.90"
57 | USE290="-D_VTEVERS290_"
58 | AC_DEFINE([_VTEVERS290_], [""], [Use vte-2.90])
59 | AC_MSG_RESULT(using $VTEVERS)
60 | fi
61 | else
62 | VTE_MODULES="vte >= 0.28.2"
63 | fi
64 | PKG_CHECK_MODULES(VTE,$VTE_MODULES,[],[AC_MSG_ERROR([No VTE dev files found ... For debian install either libvte-dev for gtk2 build or for gtk3 build libvte-2.91-dev or libvte-2.90-dev, see INSTALL file for details.])])
65 | else
66 | PLUGINCLUDES=
67 | fi
68 |
69 | AC_MSG_CHECKING(Build/Install unstable/new plugins)
70 | AC_ARG_ENABLE(unstable-plugins,AS_HELP_STRING([--disable-unstable-plugins],[Build/Install unstable/new plugins]),[enable_new_plugs=$enableval],[enable_new_plugs="no"])
71 | AC_MSG_RESULT($enable_new_plugs)
72 | if test "$enable_new_plugs" = "yes"; then
73 | NEWPLUGINCLUDES=KKEdit/unstable-plugins/*Plugin
74 | # NEWPLUGINCLUDES=KKEdit/unstable-plugins/DebuggerPlugin
75 |
76 |
77 | AC_OUTPUT(KKEdit/unstable-plugins/BrowserPlugin/Makefile KKEdit/unstable-plugins/DebuggerPlugin/Makefile)
78 | # AC_OUTPUT(KKEdit/unstable-plugins/DebuggerPlugin/Makefile)
79 | # AC_OUTPUT($(INCLUDEUNSTABLE))
80 |
81 | else
82 | NEWPLUGINCLUDES=
83 | fi
84 |
85 | AC_SUBST(PLUGDIRS)
86 | AC_SUBST(NEWPLUGINCLUDES)
87 | AC_SUBST(USE290)
88 | AC_SUBST(VTEVERS)
89 | AC_SUBST(GTK3SUFFIX)
90 | AC_SUBST(GTKVERSION)
91 |
92 | AC_SUBST(PLUGVERSION)
93 |
94 | PKG_CHECK_MODULES(GTK,$GTK_MODULES)
95 | AC_SUBST(GTK_CFLAGS)
96 | AC_SUBST(GTK_LIBS)
97 |
98 | PKG_CHECK_MODULES(GTKSRC,$GTKSRC_MODULES)
99 | AC_SUBST(GTKSRC_CFLAGS)
100 | AC_SUBST(GTKSRC_LIBS)
101 |
102 | GLIB_MODULES="gmodule-2.0 >= 2.32.4"
103 | PKG_CHECK_MODULES(GLIB, $GLIB_MODULES)
104 | AC_SUBST(GLIB_CFLAGS)
105 | AC_SUBST(GLIB_LIBS)
106 |
107 | AC_MSG_CHECKING(whether to build gtk-doc viewer)
108 | AC_ARG_ENABLE(docviewer,AS_HELP_STRING([--enable-docviewer],[Build the Gtk-Doc viewer]),
109 | [enable_docviewer=$enableval],
110 | [enable_docviewer="yes"])
111 | AC_MSG_RESULT($enable_docviewer)
112 | if test "$enable_docviewer" = "yes"; then
113 | if test "$enable_gtk3" = "yes"; then
114 | WEBKIT_MODULES="webkitgtk-3.0 >= 2.4.0"
115 | else
116 | WEBKIT_MODULES="webkit-1.0 >= 2.4.11"
117 | fi
118 | PKG_CHECK_MODULES(WEBKIT, $WEBKIT_MODULES)
119 | AC_SUBST(WEBKIT_CFLAGS)
120 | AC_SUBST(WEBKIT_LIBS)
121 | AC_DEFINE([_BUILDDOCVIEWER_], [], [Build gtk-doc viewer])
122 | fi
123 |
124 | AC_ARG_WITH(qt5-docdir,AS_HELP_STRING([ --with-qt5-docdir],[Installtion DIR for Qt5 documentation]),
125 | [with_qt5_docdir=$withval],
126 | [with_qt5_docdir="/usr/share/doc/qt5"])
127 |
128 | AC_SUBST(with_qt5_docdir)
129 | AC_MSG_RESULT([Setting Qt5 Docs directory to $with_qt5_docdir])
130 |
131 | AC_MSG_CHECKING(whether to include spell checker (aspell))
132 | AC_ARG_ENABLE(aspell,AS_HELP_STRING([--enable-aspell],[Include spellchecker]),
133 | [enable_aspell=$enableval],
134 | [enable_aspell="yes"])
135 | AC_MSG_RESULT($enable_aspell)
136 | if test "$enable_aspell" = "yes"; then
137 | ASPELL_LIBS=-laspell
138 | AC_SUBST(ASPELL_LIBS)
139 | AC_DEFINE([_ASPELL_], [], [Include spellchecker])
140 | fi
141 |
142 | AC_CANONICAL_HOST
143 | case $host_os in
144 |
145 | *BSD* | *bsd* )
146 | AC_DEFINE([_INBSD_], [], [compiling for BSD])
147 | AC_CHECK_PROG(EXCTAGS, exctags ,true,false)
148 | if test $EXCTAGS = false; then
149 | AC_MSG_ERROR([No exctags program found!])
150 | fi
151 | ICONV_LIBS=-liconv
152 | SEDCOMMAND="sed -i ''"
153 | ;;
154 | *)
155 | AC_DEFINE([_INLINUX_], [], [compiling for linux])
156 | AC_CHECK_PROG(CTAGS, ctags ,true,false)
157 | if test $CTAGS = false; then
158 | AC_MSG_ERROR([No ctags program found!])
159 | fi
160 | ICONV_LIBS=
161 | SEDCOMMAND="sed -i"
162 | ;;
163 | esac
164 |
165 | AC_SUBST(ICONV_LIBS)
166 | AC_SUBST(SEDCOMMAND)
167 |
168 | AC_CHECK_PROG(GTKSU, gtksu ,true,false)
169 | if test $GTKSU = false; then
170 | AC_MSG_NOTICE([No GtkSu program found!])
171 | AC_MSG_NOTICE([You can download it from here:])
172 | AC_MSG_NOTICE([http://gtk-apps.org/content/show.php/GtkSu?content=158974])
173 | fi
174 |
175 | AC_CHECK_PROG(MANPAGEEDITOR, manpageeditor ,true,false)
176 | if test $MANPAGEEDITOR = false; then
177 | AC_MSG_NOTICE([No Manpage Editor program found!])
178 | AC_MSG_NOTICE([You can download it from here:])
179 | AC_MSG_NOTICE([http://gtk-apps.org/content/show.php?content=160219])
180 | fi
181 |
182 | AC_ARG_WITH(gsu-path,AS_HELP_STRING([ --with-gsu-path],[Path to graphical su app]),
183 | [with_gsu_path=$withval],
184 | [with_gsu_path="gtksu -- "])
185 |
186 | AC_SUBST(with_gsu_path)
187 | AC_MSG_RESULT([Setting path to graphical su app to \"$with_gsu_path\"])
188 |
189 | AC_ARG_WITH(debug_level,AS_HELP_STRING([ --with-debug-level],[Debug level ( 0,1,2,3,4,5,6 )]),
190 | [with_debug_level=$withval],
191 | [with_debug_level=0])
192 | AC_SUBST(with_debug_level)
193 | AC_MSG_RESULT([Setting debug level to $with_debug_level])
194 |
195 | AC_OUTPUT(Makefile KKEdit/app/Makefile KKEdit/plugins/TerminalPane/Makefile KKEdit/plugins/SessionManager/Makefile KKEdit/plugins/FileBrowser/Makefile KKEdit/plugins/Clipboard/Makefile KKEdit/plugins/SymbolMenu/Makefile)
196 |
197 |
198 |
199 |
--------------------------------------------------------------------------------
/docs/addtoolbutton.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/addtoolbutton.gif
--------------------------------------------------------------------------------
/docs/autocomp1.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/autocomp1.gif
--------------------------------------------------------------------------------
/docs/autocomp2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/autocomp2.gif
--------------------------------------------------------------------------------
/docs/background.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/background.gif
--------------------------------------------------------------------------------
/docs/bookmark.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/bookmark.gif
--------------------------------------------------------------------------------
/docs/clickfile.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/clickfile.gif
--------------------------------------------------------------------------------
/docs/clickopen.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/clickopen.gif
--------------------------------------------------------------------------------
/docs/contextgoto.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/contextgoto.gif
--------------------------------------------------------------------------------
/docs/countbar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/countbar.gif
--------------------------------------------------------------------------------
/docs/define.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/define.gif
--------------------------------------------------------------------------------
/docs/docs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/docs.gif
--------------------------------------------------------------------------------
/docs/docswitch.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/docswitch.gif
--------------------------------------------------------------------------------
/docs/dragtoolbutton.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/dragtoolbutton.gif
--------------------------------------------------------------------------------
/docs/editsrcclicked.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/editsrcclicked.gif
--------------------------------------------------------------------------------
/docs/edswitch.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/edswitch.gif
--------------------------------------------------------------------------------
/docs/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/favicon.png
--------------------------------------------------------------------------------
/docs/find.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/find.gif
--------------------------------------------------------------------------------
/docs/findapifromtoolbar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/findapifromtoolbar.gif
--------------------------------------------------------------------------------
/docs/founddefine.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/founddefine.gif
--------------------------------------------------------------------------------
/docs/funclick.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/funclick.gif
--------------------------------------------------------------------------------
/docs/functions.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/functions.gif
--------------------------------------------------------------------------------
/docs/gotoapi.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/gotoapi.gif
--------------------------------------------------------------------------------
/docs/gotodefine.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/gotodefine.gif
--------------------------------------------------------------------------------
/docs/gotofuncclick.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/gotofuncclick.gif
--------------------------------------------------------------------------------
/docs/gotolinefromtoolbar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/gotolinefromtoolbar.gif
--------------------------------------------------------------------------------
/docs/gtksu.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/gtksu.gif
--------------------------------------------------------------------------------
/docs/hexdump.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/hexdump.gif
--------------------------------------------------------------------------------
/docs/include.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/include.gif
--------------------------------------------------------------------------------
/docs/keycuts.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/keycuts.gif
--------------------------------------------------------------------------------
/docs/list.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/list.gif
--------------------------------------------------------------------------------
/docs/livesearch.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/livesearch.gif
--------------------------------------------------------------------------------
/docs/main.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/main.gif
--------------------------------------------------------------------------------
/docs/newtool.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/newtool.gif
--------------------------------------------------------------------------------
/docs/openinclude.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/openinclude.gif
--------------------------------------------------------------------------------
/docs/outview.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/outview.gif
--------------------------------------------------------------------------------
/docs/plugprefs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/plugprefs.gif
--------------------------------------------------------------------------------
/docs/popup.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/popup.gif
--------------------------------------------------------------------------------
/docs/prefs.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/prefs.gif
--------------------------------------------------------------------------------
/docs/prefs2.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/prefs2.gif
--------------------------------------------------------------------------------
/docs/prefs3.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/prefs3.gif
--------------------------------------------------------------------------------
/docs/pulsebar.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/pulsebar.gif
--------------------------------------------------------------------------------
/docs/quickopen.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/quickopen.gif
--------------------------------------------------------------------------------
/docs/removetoolitem.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/removetoolitem.gif
--------------------------------------------------------------------------------
/docs/selectapi.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/selectapi.gif
--------------------------------------------------------------------------------
/docs/selectedlist.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/selectedlist.gif
--------------------------------------------------------------------------------
/docs/sourceclicked.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/sourceclicked.gif
--------------------------------------------------------------------------------
/docs/sourcehilite.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/sourcehilite.gif
--------------------------------------------------------------------------------
/docs/spellcheck.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/spellcheck.gif
--------------------------------------------------------------------------------
/docs/spliscreen.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/spliscreen.gif
--------------------------------------------------------------------------------
/docs/style.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/style.gif
--------------------------------------------------------------------------------
/docs/tabmenu.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/tabmenu.gif
--------------------------------------------------------------------------------
/docs/toolsmenu.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/toolsmenu.gif
--------------------------------------------------------------------------------
/docs/viewmenu.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/docs/viewmenu.gif
--------------------------------------------------------------------------------
/kkedit_fr_FR.po:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/kkedit_fr_FR.po
--------------------------------------------------------------------------------
/makenagtime:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Tue 29 Jul 12:41:51 BST 2014 kdhedger68713@gmail.com
4 |
5 | #dropbox link
6 | #https://dl.dropboxusercontent.com/s/xcvp8af3qp7ffxg/NAGTIME
7 | date "+%s" >./NAGTIME
8 | cat config.h|grep "#define VERSION"|awk '{print $3}'|sed 's/"//g' >> ./NAGTIME
9 | cat /media/LinuxData/Development/Projects/KKEditPlugins/NAGTIME >> ./NAGTIME
--------------------------------------------------------------------------------
/makepo:
--------------------------------------------------------------------------------
1 | #!/bin/bash -e
2 |
3 | #©keithhedger Fri 3 Oct 17:38:03 BST 2014 kdhedger68713@gmail.com
4 |
5 | MAKEPOS=0
6 | MAKEMOS=0
7 | DOMAINNAME=kkedit
8 |
9 | if [ "X$1" = "Xmakepos" ];then
10 | MAKEPOS=1
11 | MAKEMOS=0
12 | fi
13 |
14 | if [ "X$1" = "Xmakemos" ];then
15 | MAKEPOS=0
16 | MAKEMOS=1
17 | fi
18 |
19 | langs="fr_FR"
20 |
21 | rm ${DOMAINNAME}.pot||true
22 | xgettext --package-name ${DOMAINNAME} --package-version 1.2 --default-domain ${DOMAINNAME} --output ${DOMAINNAME}.pot KKEdit/src/*.cpp KKEdit/src/*.h
23 |
24 | for arg in $langs
25 | do
26 | mkdir --parents po/${arg}/LC_MESSAGES
27 | if [ $MAKEPOS -eq 1 ];then
28 | msginit --no-translator --locale $arg --output-file ${DOMAINNAME}_${arg}.po --input ${DOMAINNAME}.pot
29 | fi
30 | if [ $MAKEMOS -eq 1 ];then
31 | msgfmt --check --verbose --output-file po/${arg}/LC_MESSAGES/${DOMAINNAME}.mo ${DOMAINNAME}_${arg}.po
32 | fi
33 | done
--------------------------------------------------------------------------------
/packages/debian/control:
--------------------------------------------------------------------------------
1 | Package: kkedit
2 | Priority: extra
3 | Section: editors
4 | Installed-Size:
5 | Maintainer: K. D. Hedger
6 | Architecture: amd64
7 | Version:
8 | Depends: libwebkitgtk-1.0-0,libgtksourceview2.0-0,exuberant-ctags,libvte9,aspell,aspell-en,libaspell15,man2html-base,xterm
9 | Provides: kkedit
10 | Description: KKEdit Code Text Editor
11 |
--------------------------------------------------------------------------------
/packages/debian/control-3:
--------------------------------------------------------------------------------
1 | Package: kkedit-3
2 | Priority: extra
3 | Section: editors
4 | Installed-Size:
5 | Maintainer: K. D. Hedger
6 | Architecture: amd64
7 | Version:
8 | Depends: libwebkitgtk-3.0-0,libgtksourceview-3.0-1,exuberant-ctags,libvte-2.91-0,aspell,aspell-en,libaspell15,man2html-base,xterm,libpcre2-8-0
9 | Provides: kkedit
10 | Description: KKEdit Code Text Editor
11 |
--------------------------------------------------------------------------------
/packages/debian/org.freedesktop.policykit.kkedit.policy:
--------------------------------------------------------------------------------
1 |
2 |
5 |
6 |
7 | Run gedit program
8 | Authentication is required to run KKEdit as root
9 | accessories-text-editor
10 |
11 | auth_admin
12 | auth_admin
13 | auth_admin
14 |
15 | /usr/bin/<>
16 | true
17 |
18 |
--------------------------------------------------------------------------------
/po/fr_FR/LC_MESSAGES/kkedit.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/po/fr_FR/LC_MESSAGES/kkedit.mo
--------------------------------------------------------------------------------
/remakesourcelist:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | shopt -s nullglob
4 | cd "KKEdit/src"
5 | csrclst=$(echo "../src/*.c" "../src/*.cpp")
6 | echo COMMONSRC = $csrclst > ../sources
7 |
--------------------------------------------------------------------------------
/screenshots/main.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/KeithDHedger/KKEdit/edd6b72e77e933a05d5fb545ca7e54921747068b/screenshots/main.jpg
--------------------------------------------------------------------------------