andri-ch / gotoword

vim plugin that gives users the possibility to write and access documentation about the word or expr. under cursor
GNU Lesser General Public License v3.0
0 stars 0 forks source link

HelperSave doesn't know which lines are put by gotoword and which by user #39

Open andri-ch opened 8 years ago

andri-ch commented 8 years ago

HelperSave updates the text even with the title line... maybe that's because it was meant to ignore only the first line, when Back/Forward navigation buttons didn't exist, but now it has to ignore 2 lines. captura-ecran

andri-ch commented 8 years ago

it has something to do with the app considering the header just the first line, instead of 2 lines, so when it saves it it removes only the first line.

andri-ch commented 8 years ago

this is another reason to keep the header as just one line, not 1 or 2. For a word with multiple contexts, the metadata should be displayed only on the first/intro page, where a summary of all the contexts is kept. The wikipedia.org style should be kept: https://en.wikipedia.org/wiki/Ariston then, context "Ariston of Sparta" is selected: https://en.wikipedia.org/wiki/Ariston_of_Sparta Notice the use of _ to replace spaces.