GeoDict Forum

GeoDict Modules and their functionality => Basic functionality and features (GeoDict Base Package) => Topic started by: wiegmann on April 17, 2023, 06:09:02 PM

Title: What changed in GDR files in GeoDict 2023 compared to earlier versions?
Post by: wiegmann on April 17, 2023, 06:09:02 PM
1. Viewing GDR (GeoDict Result) files in notepad++ used to work best with the XML setting.
    Since I moved to GeoDict 2023, that does not work anymore, the syntax seems to have changed a lot.
    How do I view GDR files with fold and unfold capability again, as I was used to?

Thank you,
Andreas
Title: Re: What changed in GDR files in GeoDict 2023 compared to earlier versions?
Post by: Aaron Widera on April 18, 2023, 09:29:04 AM
Hello Andreas,
for GeoDict 2023 we changed the syntax for those files to YAML, but to make sure that it has a good usability we chose a Python compatible variant.
This means you can set your text editor both to Python and YAML and will give your used highliting and collapsability behaviour.
Cheers,
Aaron
Title: Re: What changed in GDR files in GeoDict 2023 compared to earlier versions?
Post by: wiegmann on April 18, 2023, 01:53:18 PM
Hi Aaron

Thank you for your wuikc reply!

Setting the gad and gdr file types in notepad++ Settings, Style Configurator, Python
does not seem to work for me?! Setting to YAML does work, but I would prefer the python highlighting.
Manually setting to python works, but I'd like any .gdr file to automatically start with syntax highlighting.

Kind regards,
Andreas
Title: Re: What changed in GDR files in GeoDict 2023 compared to earlier versions?
Post by: Aaron Widera on April 18, 2023, 03:39:09 PM
Hello Andreas,

for setting the language for gdr by default to python you need to go to "Settings" -> "Style Configurator" and select python and enter the extentions under "User ext. :".
And also click "Save & Close" as in this image:
[attachimg=1]

Best regards,
Aaron