Skip to content

[BUG[: Getting the last line of the document is currently bugged #2

Description

@4lch4

If there are no links at the bottom of the file and you attempt to insert a link, it'll add it on the last line of the file no matter what's there. For example, if these were the last lines of your file (with no blank line below it):

- Added support for different languages
  - So far English, Spanish, and French are the only supported languages with English being the default.
  - You can set which language you'd like in your settings with the `enmeti.displayLanguage` property.
  - Changing the language does require a restart/reload of Visual Studio Code.
  - If you wish to fix any of the existing translations or add new ones, please open a PR or contact Alcha
- Fixed Enmeti from trying to insert a link when the **ESC** key is used on an **InputBox**.

When attempting to insert a link anywhere in the file, the reference link would appear after **InputBox**. and wouldn't actually work as a reference.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions