From: Erik V. <eri...@xs...> - 2009-11-28 11:18:12
|
Jim, I think it can be done, but it is not a standard thing already supported that just needs to be switched on. It'll have to be programmed. JTextArea supports catching keystrokes and selecting text, so there is a basis to build finding on top of. The current ReportWindow, built on JTextArea, was a contribution from Jonathan Ferro exactly one year ago (previously it was a JLabel). I don't know if he or someone else would be interested to work on a Find feature? About specifications: assuming that ctrl-F starts Find, what would be suitable keystrokes for Find Next and Find Previous? Erik. > -----Original Message----- > From: Jim Black [mailto:jim...@ya...] > Sent: Saturday 28 November 2009 02:47 > To: Development list for Rails: an 18xx game > Subject: Re: [Rails-devel] Changes > > A quick comment on the report window- I don't mind the text details, > but I wish "search" worked within that window- > > for example, to scroll through the log and review "B&O" > actions in an > 1830 game, I need to select/copy/paste the whole log into a blank > window in notepad/textedit, and then search from there- dunno if I'm > missing something, but that is awkward. If there's some way to turn- > on a search option easily, it would be very helpful. > > best, > - jim > > > On Nov 27, 2009, at 1:10 PM, Erik Vos wrote: > > > - Beautified the Report (window and log) by inserting more space and > > highlighting round starts. > > The type of GUI Object used (JTextArea) does not allow > highlighting > > by fonts > > and colors, > > so I have added horizontal lnes of various types. > > > > - Added a new option "report.window.open" to my_properties > > that, if the value is "yes", will open the Report Window at > > game start. The default remains closed. > > > > - Added a new option "or.number_format" that allows > > choosing the OR number format. The default remains x.y > > (where x is the number of the previous SR, and y runs 1..3). > > By setting or.number_format=simple, the OR number > > is a simple integer that runs from 1 upwards. > > > > - The OR window title has been modified: it now displays > > "Operating Round x (y of z)" where x is either a simple > > or composite OR number. > > > > Erik. > > > > > > > -------------------------------------------------------------- > ---------------- > > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 > > 30-Day > > trial. Simplify your report design, integration and > deployment - and > > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Rails-devel mailing list > > Rai...@li... > > https://lists.sourceforge.net/lists/listinfo/rails-devel > > > > -------------------------------------------------------------- > ---------------- > Let Crystal Reports handle the reporting - Free Crystal > Reports 2008 30-Day > trial. Simplify your report design, integration and > deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel |