Tim, All
kate/kwrite are two of the crown jewels of tde. It would be nice to improve things as this project goes along. One simple idea is to provide the kate->tools->sort feature to kwrite. Is this the type of thing that warrants a feature request on the bug tracker to make sure it doesn't get lost or is there some other etherpad or tool that would be better. My .02 is it should go in the tracker as pads seem to come and go.
kate/kwrite are two of the crown jewels of tde. It would be nice to improve things as this project goes along. One simple idea is to provide the kate->tools->sort feature to kwrite. Is this the type of thing that warrants a feature request on the bug tracker to make sure it doesn't get lost or is there some other etherpad or tool that would be better. My .02 is it should go in the tracker as pads seem to come and go.
Fair suggestion but then the next question is when does KWrite basically become Kate?
I don't see any such menu item in Kate Tools menu. Picture?
I would like to see a sort option in both Kate and KWrite.
Darrell
On 02/28/2012 06:13 PM, Darrell Anderson wrote:
kate/kwrite are two of the crown jewels of tde. It would be nice to improve things as this project goes along. One simple idea is to provide the kate->tools->sort feature to kwrite. Is this the type of thing that warrants a feature request on the bug tracker to make sure it doesn't get lost or is there some other etherpad or tool that would be better. My .02 is it should go in the tracker as pads seem to come and go.
Fair suggestion but then the next question is when does KWrite basically become Kate?
Here kwrite isn't attempting to become kate -- no multi-doc-interface issues surrounding adding 'sort' at all. Just giving kwrite the same sort tool kate has. Depending on what I'm doing, I may have one 20 doc kate window open and then another 5-6 instances of kwrite. There a many times when I'm cleaning up build dependencies, I like to put them in an array by alphabetical order so it makes it easier to parse the list. In kate, it is a simple matter of doing:
Tools -> Sort -> Sort-Dialog (set ascending/descending and click go) the data immediately sorts:
here is the data:
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-1.jpg
Here is the menu item 'Sort':
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-2-menu.jpg
Here is the result (all sorted)
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-3-sorted.jpg
I don't see any such menu item in Kate Tools menu. Picture?
I would like to see a sort option in both Kate and KWrite.
Darrell
Seems like something that should be simple...
Tools -> Sort -> Sort-Dialog (set ascending/descending and click go) the data immediately sorts:
here is the data:
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-1.jpg
Here is the menu item 'Sort':
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-2-menu.jpg
Here is the result (all sorted)
http://www.3111skyline.com/dl/dt/trinity/ss/sort-kate-3-sorted.jpg
Hmm. Classic WTF. I don't have any of those bottom menu options. A quick search of the web reveals the sort feature is provided through the text filter plugin. That plugin is not appearing in my plugins list. Now that I investigate further I realize I have quite a few plugins that are not listed. Geez, all these years without sorting. :(
Ok, thanks!
Does KWrite support Kate plugins? A quick check shows yes. Perhaps solving your request is as simple as enabling the plugin in KWrite.
On to figure out why those plugins don't show in my list.
Darrell
Does KWrite support Kate plugins? A quick check shows yes. Perhaps solving your request is as simple as enabling the plugin in KWrite.
Apparently there are two types of plugins:
* katepart plugins * kate plugins
The plugins available to kwrite are katepart plugins. The textfilter plugin, which allows sorting, is a kate plugin and not a katepart plugin.
But you must be using a different plugin because even after I figured out how to get the textfilter plugin enabled, I still don't have a Sort item in the menu. I have to select the text I want to sort, select Filter Text from the Tools menu, a dialog appears, I have to type "sort" and then the text sorts.
Would you look at your plugin list to see whether you can discern which plugins adds the menu item?
By the way, I don't know whether the sort plugin you are using is a katepart or kate plugin.
Darrell
On 02/29/2012 01:24 AM, Darrell Anderson wrote:
Does KWrite support Kate plugins? A quick check shows yes. Perhaps solving your request is as simple as enabling the plugin in KWrite.
Apparently there are two types of plugins:
- katepart plugins
- kate plugins
The plugins available to kwrite are katepart plugins. The textfilter plugin, which allows sorting, is a kate plugin and not a katepart plugin.
But you must be using a different plugin because even after I figured out how to get the textfilter plugin enabled, I still don't have a Sort item in the menu. I have to select the text I want to sort, select Filter Text from the Tools menu, a dialog appears, I have to type "sort" and then the text sorts.
Would you look at your plugin list to see whether you can discern which plugins adds the menu item?
By the way, I don't know whether the sort plugin you are using is a katepart or kate plugin.
Darrell
You are correct Sir! There are two types of plugins. And... I always wondered what the difference between ~/.kde/share/apps/kate and ~/.kde/share/apps/katepart was :)
These look like kate plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/kate-plugins.jpg
These look like katepart plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/katepart-plugins.jpg
These look like kate plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/kate-plugins.jpg
These look like katepart plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/katepart-plugins.jpg
Your second picture shows a unique Sort Kate plugin. What is the file name of the plugin? Is the Sort plugin installed in $HOME/share/apps/kate or $PREFIX/share/apps/kate/plugins? The global katepart plugins are installed at $PREFIX/share/apps/ktexteditor*.*.
Do you know from where you obtained that plugin? Is the plugin provided by your distro or something you installed from elsewhere?
If you can discern from where you obtained that plugin, then perhaps we can hack the code into a katepart plugin rather than a kate plugin. If we can do that then you/our desire to add sorting to kwrite will be possible.
Many of the kate plugins are installed from tdeaddons. The standard katepart plugins come from tdelibs.
Darrell
This may not apply, but...
If David has carried over his previous Kate configuration files, or did an upgrade instead of a new install, to avoid having to reconfigure Kate with his custom settings (of which it looks like he has a lot), then that could be why he has this sort feature and we don't.
I always use previous configuration files myself and I have noticed that sometimes features are dropped from the configuration files in the newer version--but are still part of the Kate program. If you use the old configuration files the old features still work--if not they disappear. The same thing happens in reverse. If you use your old configuration files, any new features in the new version may not be not available, though still part of the Kate program itself.
I have (and yes it is a lot of work) for many years merged my old configuration files with the ones from a new version and have been able to keep features that were dropped. Infact mine is probably more customized than his.
The reason I mention this is, if the above is what has happened in his case, it will be really hard for him to figure out where the feature came from and for us to figure out how we could have it too.
I would like the sort feature also.
Keith
On Wed, Feb 29, 2012 at 11:21 AM, Darrell Anderson humanreadable@yahoo.com wrote:
These look like kate plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/kate-plugins.jpg
These look like katepart plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/katepart-plugins.jpg
Your second picture shows a unique Sort Kate plugin. What is the file name of the plugin? Is the Sort plugin installed in $HOME/share/apps/kate or $PREFIX/share/apps/kate/plugins? The global katepart plugins are installed at $PREFIX/share/apps/ktexteditor*.*.
Do you know from where you obtained that plugin? Is the plugin provided by your distro or something you installed from elsewhere?
If you can discern from where you obtained that plugin, then perhaps we can hack the code into a katepart plugin rather than a kate plugin. If we can do that then you/our desire to add sorting to kwrite will be possible.
Many of the kate plugins are installed from tdeaddons. The standard katepart plugins come from tdelibs.
Darrell
To unsubscribe, e-mail: trinity-devel-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-devel-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-devel.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On 02/29/2012 10:21 AM, Darrell Anderson wrote:
These look like kate plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/kate-plugins.jpg
These look like katepart plugins:
http://www.3111skyline.com/dl/dt/trinity/ss/katepart-plugins.jpg
Your second picture shows a unique Sort Kate plugin. What is the file name of the plugin? Is the Sort plugin installed in $HOME/share/apps/kate or $PREFIX/share/apps/kate/plugins? The global katepart plugins are installed at $PREFIX/share/apps/ktexteditor*.*.
The plugin is in ~/.kde/share/apps/kate/plugins/sort and the rc file is:
11:09 alchemy:~/.kde/share/apps> cat kate/plugins/sort/plugin_sort.rc <!DOCTYPE kpartgui> <kpartplugin library="libsortplugin" version="1" name="sort" > <MenuBar> <Menu name="tools" > <Text>&Tools</Text> <Action name="edit_insert_sort" /> </Menu> </MenuBar> <ToolBar name="extraToolBar" > <Action name="edit_insert_sort" /> </ToolBar> <ActionProperties> <Action icon="katesort" name="edit_insert_sort" /> </ActionProperties> </kpartplugin>
The remaining plugins I have are:
11:09 alchemy:~/.kde/share/apps> ls -1 kate/plugins/ katecppsymbolviewer katefiletemplates katehtmltools kateinsertcommand katemake katemodeline kateopenheader katepybrowse katesnippets katetextfilter katexmlcheck katexmltools sort
Do you know from where you obtained that plugin? Is the plugin provided by your distro or something you installed from elsewhere?
Yes, these are all stock plugins from openSuSE 11.4 (3.5.10) that Ilya maintains. All of the source.rpms are available here:
http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/
Specifically, the kate-sort plugin is:
http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/kd...
The contents of the source are:
11:15 alchemy:~/suse/114/tmp> rpm2cpio ../srpm/kde3-katesort-1.0-1.3.src.rpm | cpio -idmv hi16-action-katesort.png hi32-action-katesort.png katesort-1.0.tar.bz2 kde3-katesort-1.0-icons.diff kde3-katesort.spec
If you can discern from where you obtained that plugin, then perhaps we can hack the code into a katepart plugin rather than a kate plugin. If we can do that then you/our desire to add sorting to kwrite will be possible.
Many of the kate plugins are installed from tdeaddons. The standard katepart plugins come from tdelibs.
Darrell
It would be supercool to add this to tde :)
The plugin is in ~/.kde/share/apps/kate/plugins/sort and the rc file is:
Yes, these are all stock plugins from openSuSE 11.4 (3.5.10) that Ilya maintains. All of the source.rpms are available here:
http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/
Specifically, the kate-sort plugin is:
http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/kd...
The contents of the source are:
11:15 alchemy:~/suse/114/tmp> rpm2cpio ../srpm/kde3-katesort-1.0-1.3.src.rpm | cpio -idmv hi16-action-katesort.png hi32-action-katesort.png katesort-1.0.tar.bz2 kde3-katesort-1.0-icons.diff kde3-katesort.spec
If you can discern from where you obtained that plugin,
then perhaps we can hack the code into a katepart plugin rather than a kate plugin. If we can do that then you/our desire to add sorting to kwrite will be possible.
Many of the kate plugins are installed from tdeaddons.
The standard katepart plugins come from tdelibs.
It would be supercool to add this to tde :)
Okay, so now we know from where the sources are obtained. An enhancement request should be able to push the plugin and Suse sources into tdeaddons. That provides the plugin to all Trinity users for kate.
Based on the sources file name (katesort-1.0.tar.bz2), looks like this is the original source:
http://kde-apps.org/content/show.php/Katesort+plugin?content=69495
The next step would be to hack the code and if possible convert the plugin to a katepart plugin. I have no idea what is involved to do that or whether that is possible.
Darrell
On 02/29/2012 11:27 AM, Darrell Anderson wrote:
Okay, so now we know from where the sources are obtained. An enhancement request should be able to push the plugin and Suse sources into tdeaddons. That provides the plugin to all Trinity users for kate.
Based on the sources file name (katesort-1.0.tar.bz2), looks like this is the original source:
http://kde-apps.org/content/show.php/Katesort+plugin?content=69495
The next step would be to hack the code and if possible convert the plugin to a katepart plugin. I have no idea what is involved to do that or whether that is possible.
Darrell
I'll file the feature request. As for the conversion -- "I'm not yet capable of snatching the pebbles from the master's hand." :p
On 02/29/2012 11:35 AM, David C. Rankin wrote:
I'll file the feature request. As for the conversion -- "I'm not yet capable of snatching the pebbles from the master's hand." :p
Done: http://bugs.pearsoncomputing.net/bugzilla/show_bug.cgi?id=881