Code Monkey home page Code Monkey logo

npp_hexedit's Introduction

npp_hexedit's People

Contributors

chcg avatar dependabot[bot] avatar donho avatar gitoffthelawn avatar jetmeta avatar sploitsmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

npp_hexedit's Issues

View in HEX sometimes apply to wrong tab

STR (for latest Notepad 7.9 and HexEditor 0.9.8):

  1. Open Notepad++.
  2. Open file1 in first tab.
  3. Open file2 in second tab and invoke for this tab View in HEX (via command or press icon).

Nothing happend, wait... back to first tab with file1 and you see that View in HEX was apply to that tab. This not happend for session, or if we open files and we will change the tabs at least once.

HexEditor crashes Notepad++ v8 while launch Distraction Free mode with Dark mode activated

HexEditor crashes Notepad++ v8 while launch Distraction Free mode with Dark mode activated.
To reproduce:

  1. Launch Notepad++ v8
  2. Open 2 files, put them side by side
  3. Enable Dark mode via preferences dialog
  4. Launch Distraction Free mode via menu "View->Distraction Free mode"
  5. Quit Distraction Free mode by clicking + sign on th upper-right corner
  6. Launch Distraction Free mode again: crash

Note that the crash could happen on step 4, or on step 6. If step 6 does not trigger crash, repeat step 4 & step 5, until crash happens.

A Bug Report: Display Error?

I'm using Th.HEX file to Tb.BIN file.
Found this maybe a Bug.
Th.HEX:
:05000000744C7867F666 :00000001FF
Tb.BIN(Should Be):
00000000 74 4C C7 78 67 F6
Tb.BIN(Display):
00000000 74 4C C7 78 67 C3 B6

So If you change or make a bin file in HEX mode, by end of F6.
Than you save and reopen this file, you'll see display is C3 B6.

Thanks.

Not Work For npp-7.6.6 x64

I copy the dll file to the Plugins folder, but it doesn`t show up in notepad++.
This situation started since i update npp to 7.6.6.
Maybe HexEdit needs an update?

Not compatible with recent versions of Npp

it says that it "Cannot load 32-bit plugin." even if it's 64-bit version.
and it continues : "HexEditor.dll is not compatible with the current version of Notepad++."

image

Status bar not refreshed immediately after change bin/hex or endianes

STR (for latest Notepad 7.9 and HexEditor 0.9.8):

  1. Open Notepad++.
  2. Open file in first tab and invoke for this tab View in HEX (via command or press icon).
  3. From context menu >> View in >> change format bin/hex or it endianes.

Status bar display previous state. When we change tab to other and back then label is correct. also off/on View in HEX refresh this label.

Wrong view in 16, 32 and 64 bit

Hex view display incorrect bite order in 16, 32 and 64 bit modes. It should show reversed order of bytes.
v.0.9.5.19
Example
8-bit:
image
now in 32-bit:
image
should be in 32-bit:
image

HexEditor plugin creates an empty folder "plugins\Compare"

Notepad++ 7.6.3, 32-bit.
When the "HexEditor.dll" (version 0.9.5.11) is placed under the "plugins\HexEditor" folder, an empty folder "plugins\Compare" is created when Notepad++ starts.
If the "HexEditor.dll" is removed, the folder "plugins\Compare" is not created.

[Bug or Issue] After using HexEditor causes n++ to freeze using certain menus

Description of the Issue
Notepad ++ freezes when I use hexadecimal editor (Hex Editor) (H icon) and I try to use certain menus of the standard menu bar:
File
Edit
Search
View

Other menus work normally

When n++ freezes I have to terminate the process with task manager.
It freezes in both scenarios if H (Hex viewer) is still active when I use such menus and even if I activate the hex viewer and I close it and than I use menus (after closing it).

Steps to Reproduce the Issue
Just turn on and off the Hex editor
Use one of the listed menus
Expected Behavior
To not freeze

Actual Behavior
Freezes and I have to close the application

Debug Information
Notepad++ v7.3.1 (32-bit)
Build time : Jan 17 2017 - 00:21:10
Path : E:\Software\npp.7.3.1.bin\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 7
Plugins : CodeAlignmentNpp.dll combine.dll ComparePlugin.dll CSScriptNpp.dll DSpellCheck.dll ElasticTabstops.dll Explorer.dll gtagfornplus.dll HexEditor.dll HTMLTag_unicode.dll ImgTag.dll JSLintNpp.dll JSMinNPP.dll linefilter2.dll mimeTools.dll MultiClipboard.dll NppAutoIndent.dll NppCCompletionPlugin.dll NppColumnSort.dll NppConverter.dll NppExec.dll NppExport.dll NppFTP.dll NppMenuSearch.dll NppQCP.dll NppTextFX.dll NppToolBucket.dll PluginManager.dll PreviewHTML.dll PythonScript.dll QuickOpenPlugin.dll RunMe.dll SourceCookifier.dll WebEditU.dll XBrackets.dll ZenCoding-Python.dll

@wonkawilly wonkawilly changed the title After using HexEditor causes n++ to freeze using certain menus [Bug or Issue] After using HexEditor causes n++ to freeze using certain menus on 31 Dec 2017

Note:
Issue already published on notepad-plus-plus/notepad-plus-plus#4027

Release build has doubled in size

Thank you for continuing this useful plugin.

I noticed that the 32-bit release build of the DLL is twice the size of that offered on https://sourceforge.net/projects/npp-plugins/files/Hex Editor/Hex Editor Plugin v0.9.5/

Why is this? Is this an issue?

Also, the version number within the build has not been updated at all, resulting in some confusion. Is it okay to update it within the DLL to reflect the version number in this repo?

Inserting at End of File in Dump inserts at start of file

When you switch over to the dump in hex mode and jump to the end of the file and try to insert characters, then the first character is inserted at the end of the file as expected. Any subsequent characters are then inserted at the start of the file.

tbl support ?

Is it possible to implement tbl support and DTE encoding.

Implement setting for default find strings to be ANSI or Unicode

Although it's a hex editor, when I'm searching for strings, they are usually ANSI or Unicode. As such, please implement a setting to allow those to be used by default for the find (search) functionality.

Alternatively, it could just remember the last type used.

known 0.9.5 code issues at sourceforge

See https://sourceforge.net/p/npp-plugins/discussion/670932/thread/ba91fc4d/

Activate View in HEX should switch between original/plugin Go to window.

When we have open original Go to window, then running View in HEX should switch this window to Go to window created by plugin, and vice versa (when we turn off View in HEX). Now we can have open both windows in standard or hex view, which is wrong, because one of them doesn't work well anyway. It should be the same behavior as for Find and Replace windows.

Blurry text rendering

I posted this same issue on this other repository, thinking that it was the official HexEdit plugin:

JetNpp/HexEditor#3

Text in the HexEdit plugin had looked blurry for years. And they quickly fixed the issue. I tried their newly built plugin and text now looks crisp. But that does not seem to be the official repo, that which then populates N++ Plugin Manager (in fact it has no code, just binaries). Is this repo the one?

Can't process correctly from BOM

ๆ‰นๆณจ 2020-06-22 095354
In this screenshot ,
It's a file with UTF-BOM
I selected letter 's' , but the hex lead me to [2]bf , whitch 's' should be [4]73 .
And it is missing letter [3]'u'
I don't know if it was caused by using Chinese

A BIG BUG(When file is not too long)

image
When file is not too long, hex display has a bug.
The image show the different between BZ and HexEditor.
And BZ is right. HexEditor has a bug when file is not too long (such as the file only has 6bits )

Copy/paste changes 00 to 20

If I copy some hex from the HexEdit plugin to the clipboard and paste it somewhere else, "00" bytes are changed to "20".

image

image

image

I use the newest HexEdtor 0.9.5.19 (2018-02-11) with Notepad++ 7.8.2.

Status bar not refreshed immediately after off View in HEX

When we turn on View in HEX ten Status bar display Hex Edit View label, but when we off View in HEX then this label is still exist instead of actual selected formatting. When we change tab to other and back then label is correct.

It tells error

it pops up a dialog box

Exception

Access Violation

OK

how to solve it?

Start Layout options do nothing

The options in the Start Layout Tab do nothing, except for the big/little endian, which can not be tested, as the character width option (I assume that's what the radio buttons are) doesn't do anything.

The other options seem to work fine.

Generally the options do lack descriptions. A few random radio buttons labeled 8, 16, 32 and 64-bit don't say much, really.

Font Smooth

Hi,

Great plugin! Thank you for your work. ๐Ÿ‘

I suggest to add the option for "Font Smoothing". Futhermore, the option for user setting the "line space".

And please, colorize the Address/Offset in different colour; and the right selection in a different colour too.

I hope you aggree.
Regards.

Can not delete characters

Pressing delete does nothing, neither in dump nor in the hexview.
Pressing backspace moves the cursor, but no data is changed.

binary copy paste

@MetaChuh
See https://notepad-plus-plus.org/community/topic/14341/plugin-manager-removal-hosting/7

cool, i completely missed out that you had the hexeditor plugin ported to x64.

do you use it yourself enough to tweak it a bit ?
if yes, would it be possible to implement a binary copy paste ?
(like the npp built in edit > paste special > copy/paste binary content, or using the npp built in binary safe copy paste routines)

because the normal hexedit plugin 0.9.5 behaviour, if you copy a hex string like:
aa 00 bb 00 cc 00
would be pasted the scintilla way as:
aa 20 bb 20 cc 20
replacing all nul characters with spaces

greetings, metachuh

Notepad++ hangs at startup with HexEditor plugin enabled

When a user starts Notepad++ for the first time, "%APPDATA%\Notepad++\plugins\Config"-folder is usually not be available. The HexEditor plugin somehow relies on it but does not create it automatically.

The following behaviour has been observed:

"%APPDATA%\Notepad++\plugins" not available:
Notepad++ hangs with high CPU usage and an increasing amount of used memory.

"%APPDATA%\Notepad++\plugins\config" not available:
Notepad++ just crashes.

Creating the folder manually resolves this issue.

Writes to INI file even when no changes

This extension will write to its INI file when Notepad++ closes, even when there are no changes to the settings.

Best to only write to INI file when changes are made, and to do so at the time when those changes are made.

Hex Editor Hang

Windows 1809 Home:
NPP 7.5.9 (32 bit) doesn't crash with the X86 plugin (2018) on startup with it enabled here, but hangs whenever NPP's file dropdown menu is activated with a hex edited file opened.
There is a good resource on debugging N++ here, and with a bit of free time, it'll be used. In the meantime, as the issue is more than ten years old with this setup, it's most likely one of the other plugins playing up.
The only ones around for that long were HTMLTag and SpellCheck- so if it isn't them, perhaps RunMe or DBGp.
Attached is a bunch of screenshots along with config.xml that might help.
Note there is a "B" drive on this system- some very old classes may not use it as being a floppy alternative bootable. Mostly water under the bridge by 2009. :)
Info.zip

add a line about the program

all plugins in the menu have a line about the program, I can find out who the author is, what version. you don't have that. please add information to the menu about the program

Status bar not refreshed properly

Notepad++ x64 7.8.2
HexEdit Plugin 0.9.5
Windows 10

If I perform selections then I can see that the status bar with column/row/selected bytes information gets refreshed, but finally overridden with a default. In the end, it doesn't reflect the real status:

grafik

64 bit version is not working correctly..........

The 64 bit version of the plugin doesn't seem to work properly........ It throws an address violation exception as soon as you try to edit any value. And as a result NPP crashes and exists without saving anything.....

autoinstallation via MENU in npp-7.6.2-x86 does not work

Hello,

autoinstallation via MENU in npp-7.6.2-x86 does not work.

So I had to manually download the ZIP archive with the current plugin version (0.9.5) for NPP x86. Then I created the "NPP\plugins\HexEditor" subfolder and copied the "HexEditor.dll" file from the archive. After restarting NPP everything works.

P.S.:
In plugin information, it says that the plugin is for NPP 5.4 (see attachment). Is it really dead and the old version of the plugin ?
npp_5 4_old_version

It cannot be install correctly

My Notepad++ is version v7.6.6. This is the position after HexEditor.dll unpacked.

But as you see, the plugin is not installed successfully...

Tries to modify a readonly file in some way when return to non-hex view?

I have a Pythonscript installed from startup.py that is set up to receive SCINTILLANOTIFICATION.MODIFYATTEMPTRO notifications.
The callback for this puts a messagebox up if the user attempts to modify a readonly file.

If I use HexEditor plugin (0.9.8) to view a readonly file in hex, that is fine.
However, when I tell it to go back to normal (non-hex) view, it does it, but it also pops up my custom messagebox FOUR times.

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.