OS4 DepotLogo by DaveyD 
(anonymous IP: 52.14.209.100,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Development » Edit » textedit.lha

TextEdit

Description: Text editor being written in Hollywood (stage 3)
Download: textedit.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 2Mb
Version: 0.3
Date: 18 Nov 13
Author: Richard Lake
Submitter: Richard Lake
Email: rikki lake/ntlworld com
Homepage: http://www.lakemarketing.co.uk
Requirements: AISS 4.12, TheBar.mcc, TextEditor.mcc, MUI Royale
Category: development/edit
Replaces: development/edit/textedit.lha
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 8432
 
Comments: 8
Snapshots: 0
Videos: 0
Downloads:  (Current version)
 (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
TextEdit by Richard Lake - Stage 3

THIS APPLICATION IS NOT YET COMPLETE

I don't really need to describe what TextEdit is going to be as its all in the
name.  TextEdit is an application for viewing and editing multiple text files
concurrently within a confortable software environment.  Join me in downloading
TextEdit over the coming weeks to see how it develops one piece at a time.

STAGE 3 - Summary

Still lots of stuff outstanding to do, most of it is due to limitations in what
is currently possible with the current publically available version of
MUI-Royale at the time of coding.  E.g. Tabbed browsing, not able
to .Rename rows of a ListView object.  These are the two big things that are
stopping TextEdit being a 'complete' application that is ready for the
end-user.

Requirements:

TextEditor.mcc - http://sourceforge.net/projects/texteditor-mcc
TheBar.mcc  - http://sourceforge.net/projects/thebar/
AISS 4.12
MUI Royale - http://www.hollywood-mal.com/download.html

Development Requirements:

Codebench
Hollywood
MUI Royale

STAGE 3 - ADDING REAL FUNCTIONALITY TO OUR TEXT EDITOR
    
1) Started with 'New File', 'Close File' and 'Close All Files' getting some
actual basic functionality working along with the GUI.
    
2) Extended the 'MouseObject' branch in the eventhandler to now handle if no
files are open. I.e when only the 'New' and 'Open' toolbar buttons are
available there is no need to show tooltips for options that are currently not
available to the user.

3) Worked on editor:AskQuit() to ensure application asks user about unsaved
documents before exiting.

4) Introduced tabbed documents, however due to limitations in the current
MUIRoyale it does not possible to fully implement this yet so TextEdit will
remain capable of handling a single document at a time.

5) Added all 'Perform Action' functionality, however Run As DOS Script works
improperly at the moment.  Created new cycle option 'Run Hollywood Script'.

6) Added Touch File and Add File Comment.

7) Added Rename File.

8) Added Delete File.

9) Added Save current document, Save All will have to wait until I can make a
start on tabbed documents.

10) Added Replace Next and Replace All.

11) Added CheckEnvarc and CheckAISS calls to main.hws, the later was missing
from the previous release.  The former is for a default location to save
session files.

12) Added Load Session and Save current session.

13) Amended Donation link in menu.

14) Added Reload to File menu.

15) Included donate.php into the distribution.

STAGE 2 - ADDING FLESH TO OUR BARE BONES

This stage involves building some basic functionality onto of our interface.
    
Changelog - in order of insertion

* Jump to Line: Done, working as expected.

* Tried to get Uppercase and Lowercase functionality working for Marked Text,
but couldn't find a way to get it working.

* Added functionality to the Info button on the Toolbar to report concise
information about the current document.

* Completed the Find feature, Replace/All feature still to do.

* Added Undo/Redo, Cut, Copy (but not Paste) functionality into the TextEditor.
Not satisified with the Hollywood/MUI Royale implmentation of checking the
clipboard for content changes - incompatibility found and reported to Andreas.

* Sorted out the context menus for the Text Editor, the ListView and the string
inside the newly added third window named 'Find'.  Added fresh new code into
the eventhandler as well to support the correct enabling/disabling of these
additional menu items.

* Added new window, Find, set this window for opening, closing correctly
through both the usual closegadget and the cancel button.  I have grasped an
understanding of how the 'From Top' checkmark should eventually function.
Basically when the Find function is performed from the top of the contents the
checkmark immediately unchecks afterwards.

* Functionality of Mark All and Mark None put in place.

* The menu items must be updated in sync with the toolbar button states so this
is added next.

* I move on to the toolbar next, before making the buttons in the toolbar do
anything I need to first tell them when they should and should not be available.
( notify: haschanged, areamarked, undoavailable, redoavailable ).  Start by
adding msg.triggervalues into the eventhandler.hws and then move to editor.hws
to changed the 'disabled' states of the buttons.

* Drag and Drop text files to the ListView (eventhandler.hws and editor.hws)

STAGE 1 - INTERFACE AND VERY BASIC MENU FUNCTIONALITY

This first installment shows the main text editor interface layout and
associated menus across the top.  Function-wise the actual GUI interface does
very little in this version.  The only options that are currently implement in a
small way are those found in the TextEdit menu at the top of the screen.

Check out the 'stage' drawers in the Sourcecode drawer for everything.

Developer notes:

Feel free to re-use the source as you wish, pull it apart, do as you will, all
that I ask is if you use a significant part of my code please give me a mention
in your credits.  Thank you.

Richard Lake

Copyright (c) 2004-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment