From: Eric B. <el...@gm...> - 2013-07-24 17:08:43
|
On Wed, Jul 24, 2013 at 9:43 AM, Edward Diener <eld...@tr...>wrote: > On 7/24/2013 11:43 AM, Alan Ezust wrote: > > I am not exactly sure how to answer this question, but perhaps I can > > explain a few things that might help you find what you are looking for > > in the jedit source code. > > > > First of all: any time you want to know what code is being executed in > > response to an action, look at the file "actions.xml". > > I did not find a file called "actions.xml". > jEdit and it's plugins that have menu items have code in the actions.xml file correlating with those menu items. I think the one Alan's talking about here is in the jedit core source code under [trunk]/org/gjt/sp/jedit. Note that the "NAME"s in that file though are actually id's of the actions, the actual text is in a props file somewhere (can't remember exactly where off hand). So you may have to guess a bit to find what you're looking for. > > > > > I never wrote or looked at any of the caret drawing code before... but > > I know that if I as a user want to change the setting of the jEdit > > caret, that is in the TextArea option pane. All the option panes are in > > org.gjt.sp.jedit.options package. The TextAreaOptionPane.java is the > > proper file to look at. > > Is the Jedit source on svn or git ? I see a 5.0 release on both. The > code repositories page at > > https://sourceforge.net/apps/mediawiki/jedit/index.php?title=Code_repositories > says SVN but why would you also have a git project for JEdit ? > jEdit's core code itself is in SVN, but most jEdit plugins are also under jEdit's source control. Some of those plugins wanted to use Git instead of SVN, so that's why there is both. In SVN, jEdit core code is under: https://jedit.svn.sourceforge.net/svnroot/jedit/jEdit The Plugins start under: https://jedit.svn.sourceforge.net/svnroot/jedit/plugins |