4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
6
<title>Editing files</title>
7
<link rel="stylesheet" type="text/css" href="sv.css">
8
<script type="text/javascript" src="highlight.pack.js"></script><script>
9
document.addEventListener('DOMContentLoaded', function() {
10
var matches = document.querySelectorAll('code.syntax')
11
for (var i = 0; i < matches.length; i++) {
12
hljs.highlightBlock(matches[i]);
14
}, false);</script><script type="text/javascript" src="yelp.js"></script>
16
<body lang="sv" dir="ltr"><main><div class="page">
17
<header><div class="inner pagewide"><div class="trails" role="navigation"><div class="trail">
18
<a class="trail" href="index.html" title="GHex Help">GHex Help</a> › <a class="trail" href="index.html#basics" title="Basics">Basics</a> » </div></div></div></header><article><div class="hgroup pagewide"><h1 class="title"><span class="title">Editing files</span></h1></div>
20
<div class="contents pagewide"></div>
21
<section id=""><div class="inner">
22
<div class="hgroup pagewide"><h2 class="title"><span class="title">Toggling the hex or ASCII panes</span></h2></div>
23
<div class="region"><div class="contents pagewide">
24
<p class="p">File can be edited in GHex from either the hex pane or the ASCII pane.</p>
25
<p class="p">To focus either pane to accept your keystrokes, you may click on the appropriate pane, or:</p>
26
<div class="list"><div class="inner"><div class="region"><ul class="list">
27
<li class="list"><p class="p">Press <span class="keyseq"><span class="key"><kbd>Alt</kbd></span>+<span class="key"><kbd>Left</kbd></span></span> to focus the hex pane, and</p></li>
28
<li class="list"><p class="p">Press <span class="keyseq"><span class="key"><kbd>Alt</kbd></span>+<span class="key"><kbd>Right</kbd></span></span> to focus the ASCII pane.</p></li>
29
</ul></div></div></div>
30
<p class="p">Om du vill flytta markören i filen gör du på något av följande sätt:</p>
31
<div class="list"><div class="inner"><div class="region"><ul class="list">
32
<li class="list"><p class="p">Use the scrollbar on the window and the mouse to select a byte by clicking on it.</p></li>
33
<li class="list"><p class="p">Use the arrow keys, <span class="key"><kbd>Home</kbd></span>, <span class="key"><kbd>End</kbd></span>, <span class="key"><kbd>PageUp</kbd></span> or <span class="key"><kbd>PageDown</kbd></span> on the keyboard.</p></li>
34
<li class="list"><p class="p">Choose <span class="gui">Jump to Byte</span> from the (Main menu) or press <span class="keyseq"><span class="key"><kbd>Ctrl</kbd></span>+<span class="key"><kbd>J</kbd></span></span>,
35
and enter the cursor offset as a decimal or hexadecimal value.
36
The format of the hexadecimal value must be 0x followed by the offset, for example 0x3.</p></li>
37
</ul></div></div></div>
39
</div></section><section id=""><div class="inner">
40
<div class="hgroup pagewide"><h2 class="title"><span class="title">Editing the file using the hex or ASCII pane</span></h2></div>
41
<div class="region"><div class="contents pagewide">
42
<p class="p">Edit the ASCII format in the same way you edit a normal text file.</p>
43
<p class="p">To edit the hexadecimal format, use the values 0 to 9 and a to f. This
44
operation is not case-sensitive.</p>
46
</div></section><section id=""><div class="inner">
47
<div class="hgroup pagewide"><h2 class="title"><span class="title">Insert mode</span></h2></div>
48
<div class="region"><div class="contents pagewide">
49
<p class="p"><span class="gui">Insert Mode</span> can be toggled on or off by pressing <span class="key"><kbd>Insert</kbd></span>, or by
50
clicking the <span class="gui">Toggle insert mode</span> button in the status bar.</p>
51
<p class="p">When <span class="gui">Insert Mode</span> is enabled, this means data will be added to the file as
52
opposed to replacing existing data.</p>
53
<p class="p">Unlike traditional text editors, having <span class="gui">Insert Mode</span> <span class="em">off</span> is
54
considered the default state in GHex, given that hex editors are routinely used
55
to edit existing data in binary files that are very specifically laid out. In
56
some cases, such files may be of a fixed size and increasing or decreasing
57
their size may cause undefined or unwanted behaviour in applications that open
60
</div></section><section class="links" role="navigation"><div class="inner">
61
<div class="hgroup pagewide"></div>
62
<div class="contents pagewide"><div class="links guidelinks"><div class="inner">
63
<div class="title"><h2><span class="title">Mer information</span></h2></div>
64
<div class="region"><ul><li class="links "><a href="index.html#basics" title="Basics">Basics</a></li></ul></div>
68
<div class="clear"></div></article><footer><div class="inner pagewide"><div class="about ui-expander" role="contentinfo">
69
<div class="yelp-data yelp-data-ui-expander" data-yelp-expanded="false"></div>
71
<div class="hgroup"><h2><span class="title">Om</span></h2></div>
72
<div class="region"><div class="contents">
73
<div class="copyrights">
74
<div class="copyright">© 2022 Logan Rathbone</div>
75
<div class="copyright">© 2007 Daniel Nylander</div>
76
<div class="copyright">© 2016 Josef Andersson</div>
79
<div class="credits-authors">
80
<div class="title"><span class="title">Skrivet av</span></div>
81
<ul class="credits"><li>Logan Rathbone</li></ul>
83
<div class="credits-translators">
84
<div class="title"><span class="title">Översatt av</span></div>
86
<li>Daniel Nylander</li>
87
<li>Josef Andersson</li>
90
<div class="credits-blank"></div>
91
<div class="credits-blank"></div>