Ajp (Notepad) Report
Ajp (Notepad) Report
“NOTEPAD”
OF
SUBMITTED TO
MAHARASHTRA STATE BOARD OF TECHNICAL
EDUCATION, MUMBAI
SUBMITTED BY
Name of Student Enrollment No .
1.Khandagale Suraj Subhash 2009920113
GUIDED BY
(Prof. Kedar A.L.)
CERTIFICATE
This is to Certify that the project report entitled “NOTEPAD” Was
successfully completed by Student of Fifth semester Diploma in computer
engineering.
We are really thankful to our course the Principal Prof. Kapile A. S. and the
HOD Mr. Pokharkar M.S. Samarth Polytechnic, Belhe for his invaluable
guidance and assistance, without which the accomplishment of the task would
have never been possible.
We also thank Mr. Pokharkar M.S for giving this opportunity to explore into
the real world and realize the interrelation without which a Project can never
progress. In
our present project we have chosen the topic- “NOTEPAD”.We are also
thankful to parents, friend and all staff of Computer engineering
department, for providing us relevant information and necessary
clarifications, and great support.
CHAPTER NO-01
ABSTRACT
.txt
Notepad is a common text-only (plain text) editor. The resulting
files—typically saved with the extension—have no format tags or styles,
making the program suitable for editing system files to use in a DOS
environment and, occasionally, source code for later compilation or
execution, usually through a command prompt. It is also useful for its
negligible use of system resources; making for quick load time and
processing time, especially on under-powered hardware. Notepad supports
both left-to-right and right-to-left based languages.
CHAPTER NO-02
INTRODUCTION
Notepad is a word processing program, which allows changing of
text in a computer file. Notepad was created by the Microsoft corporation. It
is a text editor, a very simple word processor. It has been a part of Microsoft
Windows since 1985. The program has options such as changing the font, the
font size, and the font style.
The most common use for Notepad is to view or change
(edit) text (.txt) files, though .dat and .ini files can be changed in Notpad as
well. Many users find Notepad a simple program for creating webpages.
Unlike using special software programs to
create webpages, a Notepad user must write their webpages directly
in the HTML markup language
Notepad was added to the Microsoft Store in August
2019. Though Notepad will still be included in Windows out of the box, as of
Windows 10 version 20H1, Notepad will no longer be a component of the
operating system and updated through the bi-yearly Windows 10 version
updates, and will instead be a separate application receiving updates through
the Microsoft Store.
CHAPTER NO-03
How TO Use Notepad
1] Open Notepad. On Windows 7, open your Start Menu and type “Notepad”
in the search box. Select Notepad to open the application. You can also
navigate to the "Accessories" folder in the Start Menu and select Notepad
from the list of applications
2]Explore the Notepad user interface. Once Notepad is open, you will see a
simple screen with a limited set of text editing options. Notice menu options for
File, Edit, Format, View, and Help.
3]Open the File Menu. You will see a drop down list with New, Open, Save,
Save As, Page Setup, and Print. These are the basic options for word editing.
Select
“New” to create a document.
4]Format your page Setup. Navigate to Page Setup from the File menu. You
will see just a few simple formatting options. Choose your desired paper size,
orientation, and header and footer options from this menu.
CHAPTER NO-04
4]Learn more shortcuts. Using shortcuts reduces the time you spend on minor
adjustments while working on your document. Notepad has a ton of shortcuts
ranging from simple actions to complex ones. Here are some of the popular
shortcuts for Notepad:
• F2 Next Bookmark
• F3 Find Next
• F8 Toggle Output Window
• Ctrl+W Close Window
• Alt+F6 Toggle Project Window
• Alt+F7 Toggle Text Clips Window
• Alt+F8 Toggle Find Results Window
• Ctrl+Alt+C Copy as RTF
• Alt+F9 Toggle CTags Window
• Ctrl+Shift+T Copy Line
• Alt+F10 Toggle Scripts Window
• Alt+Enter Show Document Properties
• Alt+G Jump To (tags)
• Ctrl+F2 Set Bookmark
• Ctrl+F4 Close Window
• Ctrl+F6 Next Window
• Ctrl+Space Autocomplete
• Ctrl+Tab Next Window
• Ctrl+Insert Copy
• Shift+F3 Find Previous
• Ctrl+/ Quick Find
• Ctrl+A Select All
• Ctrl+C Copy
• Ctrl+D Duplicate Line
• Ctrl+F Find Dialog
• Ctrl+N New File
• Ctrl+H Replace Dialog
• Ctrl+F6 Next Window
• Ctrl+L Cut Line
• Ctrl+N New File
• Ctrl+O Open File
• Ctrl+O Open File
• Ctrl+V Paste
• Ctrl+P Print
• Ctrl+R Replace Dialog
• Ctrl+S Save
• Ctrl+Y Redo
• Ctrl+Z Undo Ctrl+Shift+S Save All
CHAPTER NO-05
Features
• Status bar
It is visible at the bottom of the Notepad screen and displays the ending line of the
text file in use. Alongside it, you can find information related to column and line
number with word-wrapping and current zoom level, if enabled. The Status Bar
itself is enabled by default.
• Wrap-Around
Earlier, Notepad had certain limitations. For instance, you could only search or
replace text using a single word. However, now you can find a new ‘wraparound’
option visible under ‘Find’ tool to search a fragment of a text. Also, Notepad will
save previously typed values and checkboxes and automatically apply them when
you reopen the ‘Find’ dialog box.
• Text zooming
Microsoft has also added options to quickly zoom text in Notepad. So, when you
attempt to change the text layout, you can notice the zoom percentage on its status
bar. You can alter this until you get the preferred zoom level.
Also, you can change Text Zoom Level by simply heading to ‘View’ option, select
‘Zoom’ and choose any of the following options,
• Zoom In (Control + Plus)
• Zoom Out (Control + Minus)
• Restore Default Zoom (Control + 0).
The new Notepad enables Windows 10 users to quickly find the meaning or
spelling of a word within the app. There’s no need to manually open a web browser
for this. It appears as a deliberate move by Microsoft to push people to use Bing.
Still, it has benefits as it is easily accessible.
Manually, you can select the text and use the Ctrl+E keyboard shortcut to quickly
get a Bing answer using Microsoft Edge. Sadly, there’s no option available to
change the default search engine.
CHAPTER NO-06
Specifications
Notepad
Notepad on Windows 10
Original author(s) Richard Brodie
Developer(s) Microsoft
Initial release 1983; 36 years ago
(as Multi-Tool Notepad)
Stable release 1903 (10.0.18362.418) (October 8, 2019; 11
days ago[1]) [±]
Preview release 20H1 (10.0.19002.1002) (October 18, 2019;
1 day ago[2]) [±]
9Operating system Microsoft Windows
Replaces MS-DOS Editor
Type Text editor
CHAPTER NO-07
Advantages:
• It’s free.
• It’s fast.
• It supports multiple line endings (Units + Windows)
• It can support multiple text encoding (not everyone speaks English).
• It supports syntax highlighting for multiple languages.
• It can open multiple files.
• It can search through multiple files.
• It can be setup to run the code.
Basically it is a lot better than notepad. If you want to quickly edit a single file it is
great.
A full IDE is better but not for small quick changes.
Disadvantages
The main disadvantage of Notepad is that it is very simple software and its primary
function is not for HTML, because it is not its primary function it does not read the
language and have intelligent answer’s to help out the programmer with features
such as auto fill. It also doesn’t have default templates to make your web design
quicker. It’s only available on Windows as Microsoft made it. You also have to
preview in a web browser which means you must save it as a HTML file.
CHAPTER NO-08
APPLICATION
• Notepad as your Digital Diary You can use Notepad as digital diary and
automatically insert date time information for every line you type in notepad. Open
a new notepad file (Click Start > Run, type Notepad and hit OK) and type .LOG at
the top of the notepad file.
Now type few lines and close the Notepad file. Open the notepad file and you will
see date time information added to each line of text in your Notepad file. You can
also add this information manually, just hit F5 key where you want to insert
datetime information.
• Notepad as HTML Stripper Ideally text on webpages is formatted for
specific font type, color, size along with other CSS design elements and images.
You can rip off text only from any webpage using notepad. Just select and copy
text from any webpage and paste in a notepad file which can be saved (without any
formatting baggage) for future use.
• Notepad as Printing cost saver Notepad can come handy when you are
printing text laden pages in large quantity. Extending the concept of using Notepad
as HTML stripper, you can strip webpages of additional formatting and image
using notepad and print more with less usage of ink, paper and money (of course).
4. Notepad as HTML webpage creator Notepad can be used to create your first
HTML webpage as stepping stone in the world webpages (and websites). Just type
basic HTML tags and save the file with .html extension. Test drive with code in
following screenshot:
• Notepad as Good and Evil script creator Notepad is a very simple text
editor which can be used to create complex script. You can create evil scripts like
format of hard drive to useful scripts like PC shutdown, which can be executed
with a click of a button.
• Notepad as Text Replacer You can use notepad to replace word(s) in essay
of text. For example, you want to replace Microsoft’ with Yahoo’ in specific text
file.
Copy the text into notepad file and use Ctrl + H (or Edit > Replace), enter
Microsoft in first text field and Yahoo is second text field and click the replace
button.
• Notepad as Window Explorer Skipper Sometimes specific files cannot be
deleted. You can try notepad to skip and bypass Windows Explorer to delete such
files. Open Notepad, GOTO File > Open. Select all files’ in file type dropdown
menu. Now browse to folder and right click on file you want remove and click the
delete option. Sometimes, this might come handy!
• Notepad as Fun app Notepad isn’t that simple and has its share of flaws.
Open Notepad and type this app can break and then save the file. Open the file and
see for yourself notepad just broke something!
CHAPTER NO-09
CODE
import java.io.*;
import java.awt.datatransfer.*;
import java.awt.event.*; import
java.awt.*; public class Notepad
extends Frame
{
Clipboard cBoard=getToolkit().getSystemClipboard();
TextArea tArea;
String fName;
int iid;
Notepad()
{
getListener gListen=new getListener();
addWindowListener(gListen);
tArea=new TextArea(); add(tArea);
MenuBar mBar=new MenuBar();
cutOption.addActionListener(new Cu_option());
editMenu.add(cutOption);
copyOption.addActionListener(new Cop_option());
editMenu.add(copyOption);
pasteOption.addActionListener(new Past_option());
editMenu.add(pasteOption);
mBar.add(editMenu);
setMenuBar(mBar);
setTitle("Notepad in Java");
}
class getListener extends WindowAdapter
{
public void windowClosing(WindowEvent closeNotepad)
{
System.exit(0);
}
}
class Ne_option implements ActionListener
{
public void actionPerformed(ActionEvent ne)
{
tArea.setText("");
}
}
class Ope_option implements ActionListener
{
public void actionPerformed(ActionEvent ope)
{
FileDialog fDialog=new
FileDialog(Notepad.this,"Select a text
file",FileDialog.LOAD);
fDialog.show();
if(fDialog.getFile()!=null)
{
fName=fDialog.getDirectory()+fDialog.getFile();
setTitle(fName);
ReadFile();
}
tArea.requestFocus();
}
}
class Clos_option implements ActionListener
{
public void actionPerformed(ActionEvent close_o)
{
System.exit(0);
}
}
class Sav_option implements ActionListener
{
public void actionPerformed(ActionEvent sav_o)
{
FileDialog fDialog=new
FileDialog(Notepad.this,"Save a text file with.txt
extension",FileDialog.SAVE); fDialog.show();
if(fDialog.getFile()!=null)
{
fName=fDialog.getDirectory()+fDialog.getFile();
setTitle(fName); try
{
DataOutputStream dOutStream=new DataOutputStream(new
FileOutputStream(fName));
String oLine=tArea.getText();
BufferedReader bReader=new BufferedReader(new
StringReader(oLine));
while((oLine=bReader.readLine())!=null)
{
dOutStream.writeBytes(oLine+"\r\n");
dOutStream.close();
}
}
catch(Exception ex)
{
System.out.println("Required the file not found");
}
tArea.requestFocus();
}
}
} void
ReadFile()
{
BufferedReader br;
StringBuffer sBuffer=new StringBuffer();
try{
br=new BufferedReader(new FileReader(fName));
String oLine;
while((oLine=br.readLine())!=null)
sBuffer.append(oLine+"\n");
tArea.setText(sBuffer.toString());
br.close();
}
catch(FileNotFoundException fe)
{
System.out.println("Required file not found");
}
catch(IOException ioe)
{
}
}
class Cu_option implements ActionListener
{
public void actionPerformed(ActionEvent cut_o)
{
String setText=tArea.getSelectedText();
StringSelection sSelection=new StringSelection(setText);
cBoard.setContents(sSelection,sSelection);
tArea.replaceRange("",tArea.getSelectionStart(),tArea.getSelectionEnd
());
}
}
}
catch(Exception exc)
{
System.out.println("Not a string Flavor");
}
}
}
}
CHAPTER NO-10
Output
Output-
CHAPTER NO-11
CONCLUSION
In this work we have developed a Notepad for exact real number computation and
performed a theoretical analysis of the algorithms and experimented on their
implementation.
In this we Implement thatNotepad is a very basic text editor that has been part of
Windows for a very long time. It is excellent for writing relatively short text
documents that you want to save as plain text, and that is not all you can do with it.
If you have not used Notepad much, you may be surprised by how easy it is to
work with. Let's take a new look at this old desktop app for Windows, what it is,
and what
it
CHAPTER NO-12
REFERENCES
• http://notepadhistory.net Hello Android‖ by Ed Brunette
• http://google.com
• http://play.google.com
• http://www.researchgate.net/publication
• Wikipedia