[Lazarus] EditorToolBarOptions nodes demaged
FreeMan
freeman35 at delphiturkiye.com
Thu Oct 15 14:30:40 CEST 2015
I upgrade to r50070 then remove damaged lines, and readd old style
values in environmentoptions.xml but same result. some buttons deleted,
added some sperate lines
-) I removed all defined "desktop"s from menu, then from "editor toolbar
settings" --> "restore default" reset IDE result is, After "Configure
Toolbar" button 2 sparate doted lines and one dotted lines on end.
-) Click to "Configure Toolbar" then direct click ok button, after
"Configure Toolbar" button 2 sparate doted lines be one line, second
line removed
-) Click to "Configure" button open "Toolbar Configuration" form, add
"Build ( Shift + F9)" [I changed shortcut] to right site, then click to
Ok button, then Re click to "Configure" button, Added "Build ( Shift +
F9)" item been dotted sparated line
I hope helpfull
On 15.10.2015 14:16, Ondrej Pokorny wrote:
> On 15.10.2015 12:31, FreeMan wrote:
>> In r50059 toolbarconfig.pas
>> procedure TIDEToolBarOptionsBase.SaveButtonNames(XMLConfig:
>> TXMLConfig; SubPath: String);
>> ..
>> XMLConfig.SetDeleteValue(SubPath + 'Button' + IntToStr(I+1) +
>> '/Name', ButtonNames[I], '');
>>
>> has only this line, but loadbuttonnames has
>>
>> ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) +
>> '/Name', '')
>> if ButtonName = '' then // Old format
>> ButtonName := XMLConfig.GetValue(SubPath + 'Buttons/Name' +
>> IntToStr(I) + '/Value', '');
>>
>> this is from my environmentoptions.xml after add "build project"
>> menu item, but its Caption has added shortcut and when save in
>> environmentoptions.xml like this. You can see extra added "/" char,
>> tag end chars.
>> And I wanna ask question, if I'm not misunderstood, in new format,
>> captions are writing, if its yes its a problem.
>
> Not captions but command/button names.
> I am still interested what the actual problem is.
>
> Ondrej
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20151015/589c9ce7/attachment-0003.html>
More information about the Lazarus
mailing list