Jump to content
Chinese-Forums
  • Sign Up

Recommended Posts

Posted

I don't use ZDT, but I know there are others who do I think it's really great that you've picked this up and are putting development time into it, especially after the project has been sitting idle for so long.

Posted

Thanks for pulling this together! Even those changes will be useful to many.

Would it be possible to get a Linux version?

Posted

I have uploaded also Linux and Mac versions. The latter one is still uploading.

Both are 64 Bit and require Java 6 (or newer) installed.

@jbradfor

Have a look at the flashcard configuration where you'll find your both requested features.

  • Like 1
Posted

d/l and untar -- looks really great, thanks!

You refer to the "user dictionary" -- what is this? Is this the union of all the "Categories"? If so, I don't see a way to access it directly. I see a little two-arrow icon on the upper right of the dictionary window, but it's greyed out.

Need any more suggestions for (small) things to work on? I'm a never ending supply....

Posted

Nice to hear that it works well :)

Yes, the user dict is the union of all categories. You can activate it either by selecting it directly in the menu bar (see screenshot) or by cycling through all available dictionaries by pressing Ctrl+D

The two-arrow icon on the upper right corner of the dictionary becomes active when the user dict is selected. By using this toggle button you can link the user dictionary with the category editor. This is helpful when you want to know in which category the user entry can be found.

For example, you see in my screenshot that bu4 is found 4 times in the user dict. By clicking on an entry, ZDT will open the corresponding category in the category editor and reveal the clicked entry. Isn't this nice!? :)

20itedk.gif

  • Like 1
Posted

That is nice! This is one feature I was going to ask for. Right now when I want to edit a card, I need to grep for the definition in the user.script file, then get the category number, then look in the user.script file for what category name this is. This is much easier. The only way this could be improved is if it could be done automatically from the card.

I did notice what seems to be a slight bug in this. If you have all the categories closed, and you search for something in the user dictionary, and then click on it to bring up the category that has it, the card itself is not highlighted. If you then click on any card in that category, then click on the word in the user dictionary, it takes you right to that card. Minor issue.

Otherwise, improvements are looking great!

Posted
if it could be done automatically from the card.

What do you mean? "From the card"? How?

that has it, the card itself is not highlighted

Sure, the card itself is highlighted. However, the category in the left category tree is not selected. Do you mean this?

then click on the word in the user dictionary, it takes you right to that card

As long as the two-arrow icon is toggled on, a click on the dictionary entry will always take you right to the card. Isn't it the case for you?

  • Like 1
Posted
What do you mean? "From the card"? How?

When I'm reviewing a card, sometime I want to be able to edit it. [Or delete it.] The user dictionary makes this a lot easier: search for it, then get the card. But I'm really lazy, and it would be nice to have a button (or a keystroke...), so that when I have a card open during review, it will take me right to that same card where I can edit it.

As long as the two-arrow icon is toggled on, a click on the dictionary entry will always take you right to the card. Isn't it the case for you?

Nope.

A click on the dictionary entry will open the category that contains that card, but the card is not displayed.

If I click on any other card in that category, then click on the dictionary entry again, it will display that card.

Not a huge deal, but since you're there....

Posted
but the card is not displayed.

Weird. When I click on the dict entry, the card is selected immediately as shown in my above screenshot. And you, you're saying that you need to click still on another card in the category and then on the dict entry again to reveal that card??

Btw. did you test your both options you were asking for? Are they working as expected?

  • Like 1
Posted

Yeah, that's it. If you're not seeing it, then it's likely some issue with Linux / gnome / java / whatever. Not a bit deal, even with the two extra clicks it's still a big improvement.

Found and enabled the two options, haven't had a chance to test them yet.

Posted

Update: confirm that the two new options work as requested, perfect!!

A bit more about this mystery bug that I see and you don't with the user dictionary. For me, the correct card is, in fact, highlighted the first time I click on the entry in the user dictionary (unlike what I said above). However, when there are many cards in the category (say over 40), the category is not scrolled up/down correctly so that the highlighted card is visible. I need to go down 1 or more screens in order to see it.

  • 2 months later...
Posted

for ZDT0.9.0, can the font size be changed in the flashcard notes? I have changed font sizes in the preferences, but it doesn't seem to effect the flashcard notes.

Posted

Yes, you're right, the font is not changeable in flashcards notes. I never remarked it since I never used it.

  • Like 1
Posted

I'm a long-time user and a fan. Thanks for doing the updates.

  • 4 weeks later...
Posted

Thanks for the new version of ZDT.

Unfortunately, I've downloaded it, installed it and it keeps telling me there is an error when I try to open it. I have Java 6. There is a log entry that tries to tell me why it failed, but I cannot make sense of it.

Some of the log is below. Any ideas on how to correct this?

!ENTRY org.eclipse.osgi 2 0 2012-06-30 04:53:08.590

!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-30 04:53:08.590

!MESSAGE Bundle net.sourceforge.zdt.dictionary_0.9.0 [6] was not resolved.

!SUBENTRY 2 net.sourceforge.zdt.dictionary 2 0 2012-06-30 04:53:08.590

!MESSAGE Missing required bundle net.sourceforge.zdt.flashcard_0.8.0.

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-30 04:53:08.591

!MESSAGE Bundle net.sourceforge.zdt.flashcard_0.9.0 [7] was not resolved.

!SUBENTRY 2 net.sourceforge.zdt.flashcard 2 0 2012-06-30 04:53:08.591

!MESSAGE Missing required bundle net.sourceforge.zdt.jfreechart.libs_1.0.13.

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-30 04:53:08.591

!MESSAGE Bundle net.sourceforge.zdt.jfreechart.libs_1.0.13 [10] was not resolved.

!SUBENTRY 2 net.sourceforge.zdt.jfreechart.libs 2 0 2012-06-30 04:53:08.591

!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-30 04:53:08.591

!MESSAGE Bundle net.sourceforge.zdt.supermemo_0.3.0 [15] was not resolved.

!SUBENTRY 2 net.sourceforge.zdt.supermemo 2 0 2012-06-30 04:53:08.591

!MESSAGE Missing required bundle net.sourceforge.zdt.flashcard_0.0.0.

!SUBENTRY 1 org.eclipse.osgi 2 0 2012-06-30 04:53:08.591

!MESSAGE Bundle net.sourceforge.zdt.tests_0.7.0 [16] was not resolved.

!SUBENTRY 2 net.sourceforge.zdt.tests 2 0 2012-06-30 04:53:08.592

!MESSAGE Missing required bundle net.sourceforge.zdt.flashcard_0.0.0.

!ENTRY org.eclipse.osgi 4 0 2012-06-30 04:53:08.606

!MESSAGE Application error

!STACK 1

org.eclipse.core.runtime.CoreException: Plug-in net.sourceforge.zdt.core was unable to load class net.sourceforge.zdt.core.ZDTApplication.

at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)

at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:178)

at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)

at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)

at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:191)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)

at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClassHoldingLock(ClasspathManager.java:626)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:608)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:562)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:486)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:459)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)

at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)

at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)

at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)

at java.lang.ClassLoader.loadClass(ClassLoader.java:251)

at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)

at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)

at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1207)

at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

... 15 more

Posted

I installed zdt on a fresh Win7 distro, using Java 7, without any problems. Can you try update your Java? Just install Java 7 perhaps your Java 6 is missing some resources. When it should fail again, please attach the whole log file or upload it anywhere and link to it.

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...