Code Monkey home page Code Monkey logo

mini's People

Contributors

bretthysuik avatar frednaughty avatar kinghajj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mini's Issues

Prevent README and LICENSE files from being added to consumer's project

I don't think the readme and license files should be forcibly added to a consumer's project when they use this package. If a consumer deletes these files from their project they will get re-added every time they upgrade the Mini package.

To prevent this, the Build Action for README.txt and LICENSE.txt should be set to None instead of Content. They should still be added to the NuGet package.

Bug: spaces are lost when saving

Example:
The ini files contains the following entry.
[5]
21=Timeout =
22=Timeout =

Im reading the inifile with
var iniTarget = new IniDocument("file", System.Text.Encoding.Unicode);

After writing the ini file back to file the spaces between the second equal character is lost
iniTarget.Write("file");
Result:
[5]
21=Timeout=
22=Timeout=

Trailing whitespace on keys causes incorrect parsing behaviour

If a key contains trailing whitespace its value will return an empty string. For example:

[Section]
; Works correctly
FirstKey=FirstValue
; Works correctly (leading whitespace on value)
SecondKey= SecondValue
; Doesn't work (trailing whitespace on key)
ThirdKey =ThirdValue
; Doesn't work (trailing whitespace on key, leading whitespace on value)
FourthKey = FourthValue
; Works correctly (leading whitespace on key)
 FifthKey=FifthValue

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.