<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
In r50059 toolbarconfig.pas<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
procedure TIDEToolBarOptionsBase.SaveButtonNames(XMLConfig:
TXMLConfig; SubPath: String);<br>
..<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
XMLConfig.SetDeleteValue(SubPath + 'Button' + IntToStr(I+1) +
'/Name', ButtonNames[I], '');<br>
<br>
has only this line, but loadbuttonnames has<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
ButtonName := XMLConfig.GetValue(SubPath + 'Button' + IntToStr(I) +
'/Name', '')<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
if ButtonName = '' then // Old format<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
ButtonName := XMLConfig.GetValue(SubPath + 'Buttons/Name' +
IntToStr(I) + '/Value', '');<br>
<br>
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.<br>
And I wanna ask question, if I'm not misunderstood, in new format,
captions are writing, if its yes its a problem.<br>
<br>
<Button11 Name="Build project<b>/</b>program"/><br>
<Button12 Name="Compile project/program"/><br>
<Button13 Name="Abort building"/><br>
<br>
<div class="moz-cite-prefix">On 15.10.2015 13:10, Ondrej Pokorny
wrote:<br>
</div>
<blockquote cite="mid:561F7B9F.5080309@kluug.net" type="cite">On
15.10.2015 12:05, FreeMan wrote:
<br>
<blockquote type="cite"> r50058-50059 change
"EditorToolBarOptions" node's values
<br>
in environmentoptions.xml
<br>
after:
<br>
<EditorToolBarOptions Position="Left" Count="27">
<br>
<Button1 Name="Save"/>
<br>
<Button2 Name="SaveAll"/>
<br>
<Button3 Name="---------------"/>
<br>
<Button4 Name="Jump to Implementation"/>
<br>
<Button5 Name="---------------"/>
<br>
<Button6 Name="Open package file"/>
<br>
<Button7 Name="Open"/>
<br>
<Button8 Name="Open project"/>
<br>
<Button9 Name="CloseAll"/>
<br>
<Button10 Name="---------------"/>
<br>
<Button11 Name="Build project/program"/>
<br>
<br>
before:
<br>
<EditorToolBarOptions Position="Left" Count="31">
<br>
<Button1
Name="IDEMainMenu/File/itmFileOpenSave/itmFileSave"/>
<br>
<Button2
Name="IDEMainMenu/File/itmFileOpenSave/itmFileSaveAll"/>
<br>
<Button3
Name="IDEMainMenu/Search/itmJumpings/itmJumpToSection/itmJumpToInterfaceUses"/><br>
<Button4 Name="---------------"/>
<br>
<Button5
Name="IDEMainMenu/Package/itmPkgOpening/itmPkgOpenPackageFile"/>
<br>
<Button6
Name="IDEMainMenu/File/itmFileOpenSave/itmFileOpen"/>
<br>
<Button7
Name="IDEMainMenu/Project/itmProjectOpenSection/itmProjectOpen"/>
<br>
<Button8
Name="IDEMainMenu/File/itmFileOpenSave/itmFileCloseAll"/>
<br>
<Button9 Name="---------------"/>
<br>
<Button10
Name="IDEMainMenu/Run/itmRunBuilding/itmRunMenuBuild"/>
<br>
<Button11
Name="IDEMainMenu/Run/itmRunBuilding/itmRunMenuAbortBuild"/>
<br>
</blockquote>
<br>
Yes, they changed. What's the problem?
<br>
<br>
Ondrej
<br>
<br>
--
<br>
_______________________________________________
<br>
Lazarus mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a>
<br>
<br>
</blockquote>
<br>
</body>
</html>