: K-Meleon Forum
K-Meleon development related discussions.
[quote=desga2] [quote=JamesD] @ desga2 One concern about using "list" pref. Since that requires index and substr , will there be a problem for those who wish to use with a language which requires UTF-8? I had thought to use something like this. k-meleon_GroupsUnit.count to keep total number of groups. k-meleon_GroupsUnit.1  etc to hold the name of the group. That is very good with the inline menu. I have not yet discovered why the group name remains after the delete. I will keep trying.[/quote] The use of numbers to do this have a problem when you deleted a number of between. For example if you have 4 Groups; k-meleon_GroupsUnit.count = 4 k-meleon_GroupsUnit.1 k-meleon_GroupsUnit.2 k-meleon_GroupsUnit.3 k-meleon_GroupsUnit.4 Now you like delete Group number 3; k-meleon_GroupsUnit.count = 3 (4-1) k-meleon_GroupsUnit.1 k-meleon_GroupsUnit.2 k-meleon_GroupsUnit.4 How can we do for create the Group list menu? How can we access to the Group number 4 to load it? I thinking that you can are rigth with language which requires UTF-8, but this solution not work because it will generated new problems. I thinking some hybrid solution between your and mine: We can use a list of numbers instead groups name. For example: k-meleon_Groups2.list = "1|2|4|" But now we need use first empty number in list when we created a new group. In example we created a new group in 3 that is first empty/free number in list instead 5 that is next new number in list. All this can complicate a little more the macro code. Thanks for fix delete items in list Groups problem. I tried it before but I did something wrong. Now i can fixed. In my before code there are some important implements that you can use: - New main menu location created "&Groups" (like in old versions). - Accelerator Alt+Enter to load a Group name typed in URL bar. (Add group method) - "Load Group" in menu load group with replace current tabs method (like Sessions). - List of groups in menu to load group with add group to current tabs method. But i think that we are working for nothing because is more quickly copy original groups.kmm macro from 1.1.6 version and replace layers functions for tabs functions to work in 1.5.x :P :D We are trying to reinvent the wheel. :D[/quote]
K-Meleon forum is powered by